summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2011-09-24 08:01:16 -0400
committerJeff Layton <jlayton@samba.org>2011-09-24 08:01:16 -0400
commitf9df5f8e629176db7a1812f7914a45e2977c3e4c (patch)
treea6f53603fc3129c22568fa521ce8dbdf7ae80fea /Makefile.am
parent62a1005814793dd7fa5e819d6619065ae8edf240 (diff)
downloadcifs-utils-f9df5f8e629176db7a1812f7914a45e2977c3e4c.tar.gz
cifs-utils-f9df5f8e629176db7a1812f7914a45e2977c3e4c.tar.bz2
cifs-utils-f9df5f8e629176db7a1812f7914a45e2977c3e4c.zip
acltools: install them in $bindir, not $sbindir
Move the manpages to section 1 since getcifsacl and setcifsacl are user, not sysadmin tools. Get rid of the useless sed calls on the manpages. They don't have any explicit paths in them that need replacing. Also get rid of the "4.0" in the footers of all the manpages. Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 7d4bdea..026be9f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,7 @@ mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD)
man_MANS = mount.cifs.8
+bin_PROGRAMS =
sbin_PROGRAMS =
clean-local: clean-local-upcall clean-local-idmap clean-local-aclprogs
@@ -31,7 +32,7 @@ if CONFIG_CIFSUPCALL
endif
if CONFIG_CIFSCREDS
-bin_PROGRAMS = cifscreds
+bin_PROGRAMS += cifscreds
cifscreds_SOURCES = cifscreds.c resolve_host.c util.c
cifscreds_LDADD = -lkeyutils
endif
@@ -52,20 +53,16 @@ if CONFIG_CIFSIDMAP
endif
if CONFIG_CIFSACL
-sbin_PROGRAMS += getcifsacl
+bin_PROGRAMS += getcifsacl
getcifsacl_SOURCES = getcifsacl.c
getcifsacl_LDADD = -lkeyutils $(WINB_LDADD)
-man_MANS += getcifsacl.8
+man_MANS += getcifsacl.1
-sbin_PROGRAMS += setcifsacl
+bin_PROGRAMS += setcifsacl
setcifsacl_SOURCES = setcifsacl.c
setcifsacl_LDADD = -lkeyutils $(WINB_LDADD)
-man_MANS += setcifsacl.8
+man_MANS += setcifsacl.1
-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: