diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-17 18:55:37 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-17 18:55:37 -0700 |
commit | 032a79dbf1fb89bbf090f03af199b80d5ff1175d (patch) | |
tree | cf4391138219f04de146f21143f179c586893352 | |
parent | f2f8f89e5e17c68b275e0a0804a698742803e551 (diff) | |
download | unicorn-032a79dbf1fb89bbf090f03af199b80d5ff1175d.tar.gz |
It may not be portable to older versions of gzip
-rw-r--r-- | Documentation/GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
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)) |