From: Eric Sandeen Date: Wed, 13 Jun 2018 03:26:31 +0000 (-0500) Subject: mkfs: move mkfs.xfs.8 to an .in file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0747e849a9e771b20a6eaf11225a23ab9a1e45;p=thirdparty%2Fxfsprogs-dev.git mkfs: move mkfs.xfs.8 to an .in file Simple move with no changes, next patch will parameterize @sysconfdir@ Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/man/man8/Makefile b/man/man8/Makefile index 36620da17..08e5e0d7f 100644 --- a/man/man8/Makefile +++ b/man/man8/Makefile @@ -7,14 +7,20 @@ include $(TOPDIR)/include/builddefs MAN_SECTION = 8 -MAN_PAGES = $(shell echo *.$(MAN_SECTION)) +MAN_PAGES = $(shell echo *.$(MAN_SECTION)) mkfs.xfs.8 MAN_DEST = $(PKG_MAN_DIR)/man$(MAN_SECTION) LSRCFILES = $(MAN_PAGES) default : $(MAN_PAGES) +LDIRT = mkfs.xfs.8 + include $(BUILDRULES) +mkfs.xfs.8: mkfs.xfs.8.in + @echo " [SED] $@" + $(Q)$(SED) -e "s|@sysconfdir@|$(PKG_ETC_DIR)|g" < $< > $@ + install : default $(INSTALL) -m 755 -d $(MAN_DEST) $(INSTALL_MAN) diff --git a/man/man8/mkfs.xfs.8 b/man/man8/mkfs.xfs.8.in similarity index 100% rename from man/man8/mkfs.xfs.8 rename to man/man8/mkfs.xfs.8.in