From 032a79dbf1fb89bbf090f03af199b80d5ff1175d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 17 Sep 2009 18:55:37 -0700 Subject: Documentation: don't force --rsyncable flag with gzip(1) It may not be portable to older versions of gzip --- Documentation/GNUmakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Documentation/GNUmakefile') diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index a49920a..6caa47f 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -4,6 +4,7 @@ PANDOC = pandoc PANDOC_OPTS = -s -f markdown --email-obfuscation=none --sanitize-html pandoc = $(PANDOC) $(PANDOC_OPTS) pandoc_html = $(pandoc) --toc -t html --no-wrap +gzip = gzip man1 := unicorn unicorn_rails @@ -21,10 +22,10 @@ man-gz: $(addsuffix .1.gz,$(man1)) $(pandoc_html) -T $(basename $@) < $< > $@+ && mv $@+ $@ %.1.gz: %.1 - gzip --rsyncable < $< > $@+ && mv $@+ $@ + $(gzip) < $< > $@+ && mv $@+ $@ %.1.html.gz: %.1.html - gzip --rsyncable < $< > $@+ && mv $@+ $@ + $(gzip) < $< > $@+ && mv $@+ $@ clean:: $(RM) $(addsuffix .1.html,$(man1)) -- cgit v1.2.3-24-ge0c7