btrfs-progs: build: remove gzip dependency

The manual pages are not compressed anymore and we can remove gzip from
build dependencies and build steps.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2018-09-11 17:15:04 +02:00
parent 14357b3e34
commit 678d6c9c0f
2 changed files with 1 additions and 13 deletions

View File

@ -65,7 +65,6 @@ MANPAGE_XSL = manpage-normal.xsl
XMLTO = @XMLTO@
XMLTO_EXTRA =
XMLTO_EXTRA = -m manpage-bold-literal.xsl
GZIPCMD = @GZIP@
INSTALL = @INSTALL@
RM = @RM@
RMDIR = @RMDIR@
@ -80,7 +79,6 @@ ifndef V
QUIET_RM = @
QUIET_ASCIIDOC = @echo " [ASCII] $@";
QUIET_XMLTO = @echo " [XMLTO] $@";
QUIET_GZIP = @echo " [GZ] $@";
endif
endif
@ -108,16 +106,7 @@ uninstall:
$(RMDIR) -p --ignore-fail-on-non-empty $(DESTDIR)$(man8dir)
clean:
$(QUIET_RM)$(RM) -f *.xml *.xml+ *.3 *.3.gz *.5 *.5.gz *.8 *.8.gz *.html
%.3.gz : %.3
$(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@
%.5.gz : %.5
$(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@
%.8.gz : %.8
$(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@
$(QUIET_RM)$(RM) -f *.xml *.xml+ *.3 *.5 *.8 *.html
%.3 : %.xml
$(QUIET_XMLTO)$(RM) -f $@ && \

View File

@ -99,7 +99,6 @@ if test "x$enable_documentation" = xyes; then
AC_MSG_ERROR([cannot find xmlto, cannot build documentation])
fi
AC_PATH_PROG([GZIP], [gzip], [gzip])
AC_PATH_PROG([MV], [mv], [mv])
AC_PROG_SED
AC_PATH_PROG([ASCIIDOC], [asciidoc])