summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>2011-06-01 15:27:10 -0400
committerJeff Layton <jlayton@samba.org>2011-06-01 15:27:10 -0400
commit7c04b90be021e03bc2ab97a9c91f66635cdca30b (patch)
treefe8d99a7e4e394018134cf9a4694cc42a74885d0 /Makefile.am
parentcbce1a68c419301904ad1fdc7c55b1d3b86fbdff (diff)
downloadcifs-utils-7c04b90be021e03bc2ab97a9c91f66635cdca30b.tar.gz
cifs-utils-7c04b90be021e03bc2ab97a9c91f66635cdca30b.tar.bz2
cifs-utils-7c04b90be021e03bc2ab97a9c91f66635cdca30b.zip
cifs-utils: Create man pages for cifs.idmap program (try #2)
Create man pages for program cifs.idmap Enable cifs.idmap config option by default. Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6046369..4938447 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,7 @@ mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD)
man_MANS = mount.cifs.8
sbin_PROGRAMS =
+clean-local: clean-local-upcall clean-local-idmap
if CONFIG_CIFSUPCALL
sbin_PROGRAMS += cifs.upcall
@@ -22,8 +23,10 @@ man_MANS += cifs.upcall.8
#
cifs.upcall.8: cifs.upcall.8.in
$(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@
+endif
-clean-local:
+clean-local-upcall:
+if CONFIG_CIFSUPCALL
rm -f cifs.upcall.8 cifs.upcall.8-t
endif
@@ -37,4 +40,13 @@ if CONFIG_CIFSIDMAP
sbin_PROGRAMS += cifs.idmap
cifs_idmap_SOURCES = cifs.idmap.c
cifs_idmap_LDADD = -lkeyutils $(WINB_LDADD)
+man_MANS += cifs.idmap.8
+
+cifs.idmap.8: cifs.idmap.8.in
+ $(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@
+endif
+
+clean-local-idmap:
+if CONFIG_CIFSIDMAP
+ rm -f cifs.idmap.8 cifs.idmap.8-t
endif