* [PATCH] xfsprogs: don't install xfs_scrub man pages if config'd off
@ 2018-11-27 19:41 Eric Sandeen
2018-11-28 16:12 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2018-11-27 19:41 UTC (permalink / raw)
To: linux-xfs
Don't install man pages for xfs_scrub if it's turned off
in the config.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfsprogs: don't install xfs_scrub man pages if config'd off
2018-11-27 19:41 [PATCH] xfsprogs: don't install xfs_scrub man pages if config'd off Eric Sandeen
@ 2018-11-28 16:12 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2018-11-28 16:12 UTC (permalink / raw)
To: Eric Sandeen; +Cc: linux-xfs
On Tue, Nov 27, 2018 at 01:41:31PM -0600, Eric Sandeen wrote:
> Don't install man pages for xfs_scrub if it's turned off
> in the config.
>
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Looks ok to me,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
--D
> ---
>
> 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)
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-29 3:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-27 19:41 [PATCH] xfsprogs: don't install xfs_scrub man pages if config'd off Eric Sandeen
2018-11-28 16:12 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox