From patchwork Tue Aug 23 19:04:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish Pargaonkar X-Patchwork-Id: 1089492 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7NIw3oM009681 for ; Tue, 23 Aug 2011 18:58:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755749Ab1HWS65 (ORCPT ); Tue, 23 Aug 2011 14:58:57 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:56190 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755710Ab1HWS64 (ORCPT ); Tue, 23 Aug 2011 14:58:56 -0400 Received: by gwaa12 with SMTP id a12so324047gwa.19 for ; Tue, 23 Aug 2011 11:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=rdTTHAlMkWq/+UmK/to7P8z2k2hEYDak0JYnLP6xBgs=; b=BaM2RVj8+jWXvOR3bTvJvD4oNcUoUaTZqhDn2SLhy3NR9E7mhk6oTSNg/uHeYuuU18 L7BhdlvR+ZprgsPe3xHqJE3Ve6G46yx77TU6rO0TaLzx35ff/h8Oa04SaVpkTUy/I7Fs L9FyjT5GbEVh16FaZZ+H0rxgdAFZUZNMwyOWk= Received: by 10.236.180.38 with SMTP id i26mr25836601yhm.7.1314125936420; Tue, 23 Aug 2011 11:58:56 -0700 (PDT) Received: from localhost ([32.97.110.58]) by mx.google.com with ESMTPS id e21sm326835yhn.7.2011.08.23.11.58.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Aug 2011 11:58:55 -0700 (PDT) From: shirishpargaonkar@gmail.com To: jlayton@samba.org Cc: linux-cifs@vger.kernel.org, Shirish Pargaonkar Subject: [PATCH 8/8] cifs-utils: cifsacl utilities: Add make directives for setcifsacl (try #2) Date: Tue, 23 Aug 2011 14:04:30 -0500 Message-Id: <1314126270-12130-1-git-send-email-shirishpargaonkar@gmail.com> X-Mailer: git-send-email 1.6.0.2 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Aug 2011 18:58:58 +0000 (UTC) From: Shirish Pargaonkar Add Makefile directives for setcifsacl. Signed-off-by: Shirish Pargaonkar --- Makefile.am | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3ec6b7e..7d4bdea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,11 +57,18 @@ getcifsacl_SOURCES = getcifsacl.c getcifsacl_LDADD = -lkeyutils $(WINB_LDADD) man_MANS += getcifsacl.8 +sbin_PROGRAMS += setcifsacl +setcifsacl_SOURCES = setcifsacl.c +setcifsacl_LDADD = -lkeyutils $(WINB_LDADD) +man_MANS += setcifsacl.8 + getcifsacl.8: getcifsacl.8.in $(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@ +setcifsacl.8: setcifsacl.8.in + $(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@ endif clean-local-aclprogs: if CONFIG_CIFSACL - rm -f getcifsacl.8 getcifsacl.8-t + rm -f getcifsacl.8 getcifsacl.8-t setcifsacl.8 setcifsacl.8-t endif