]> granicus.if.org Git - psmisc/commitdiff
Conditional install fuser.1
authorCraig Small <csmall@users.sourceforge.net>
Mon, 11 Jun 2012 01:29:03 +0000 (11:29 +1000)
committerCraig Small <csmall@users.sourceforge.net>
Mon, 11 Jun 2012 01:29:03 +0000 (11:29 +1000)
If fuser binary is not installed, don't install fuser man page either

doc/Makefile.am

index 0008ad669230ce584d5e90520f60614aca163756..541637fcd9154358f9e3252221fd16649f45eecd 100644 (file)
@@ -1,4 +1,11 @@
 
-man_MANS = fuser.1 killall.1 peekfd.1 prtstat.1 pstree.1
+man_MANS = killall.1 peekfd.1 prtstat.1 pstree.1
+EXTRA_MANS = 
 
-EXTRA_DIST = $(man_MANS)
+if WANT_FUSER
+  man_MANS += fuser.1
+else
+  EXTRA_MANS += fuser.1
+endif
+
+EXTRA_DIST = $(man_MANS) $(EXTRA_MANS)