[PATCH] xfsprogs: don't install xfs_scrub man pages if config'd off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't install man pages for xfs_scrub if it's turned off
in the config.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---

diff --git a/man/man8/Makefile b/man/man8/Makefile
index 36620da..e6a5572 100644
--- a/man/man8/Makefile
+++ b/man/man8/Makefile
@@ -7,7 +7,11 @@ include $(TOPDIR)/include/builddefs
 
 MAN_SECTION	= 8
 
-MAN_PAGES	= $(shell echo *.$(MAN_SECTION))
+ifneq ("$(ENABLE_SCRUB)","yes")
+  MAN_PAGES = $(filter-out xfs_scrub%,$(shell echo *.$(MAN_SECTION)))
+else
+  MAN_PAGES = $(shell echo *.$(MAN_SECTION))
+endif
 MAN_DEST	= $(PKG_MAN_DIR)/man$(MAN_SECTION)
 LSRCFILES	= $(MAN_PAGES)
 




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux