X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=blobdiff_plain;f=Makefile;h=aa5408f8ee6e1985c8f472fe263882768cfb2eb8;hp=a10b93d7092ebb6e22e33e3023d94b892f7422c4;hb=3fe146fc7e83712d950f70816f7c1005e0a77eec;hpb=042e857f4ba0155b2bcf47d59cd500527039fd99 diff --git a/Makefile b/Makefile index a10b93d..aa5408f 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,13 @@ menu-policy.sgml: version.ent perl-policy.sgml: version.ent %.txt: %.org - $(EMACS) --batch -Q -l ./README-css.el -l org -l org-ascii --visit $^ \ - --funcall org-export-as-ascii >/dev/null 2>&1 + $(EMACS) --batch -Q -l ./README-css.el -l org --visit $^ \ + --funcall org-ascii-export-to-ascii test "$@" != "README.txt" || \ perl -pli -e 's,./Process.org,Process.txt,g' $@ %.html: %.org $(EMACS) --batch -Q -l ./README-css.el -l org --visit $^ \ - --funcall org-export-as-html-batch >/dev/null 2>&1 + --funcall org-html-export-to-html %.validate: % nsgmls -wall -gues $< @@ -25,25 +25,25 @@ perl-policy.sgml: version.ent rmdir $*-1d.html %.html.tar.gz: %.html/index.html - tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=) + GZIP=-n9 tar -czf $(<:/index.html=.tar.gz) $(<:/index.html=) %.txt: %.sgml LANG=C debiandoc2text $< %.txt.gz: %.txt - gzip -cf9 $< > $@ + gzip -ncf9 $< > $@ %.ps: %.sgml LANG=C debiandoc2latexps $< %.ps.gz: %.ps - gzip -cf9 $< > $@ + gzip -ncf9 $< > $@ %.pdf: %.sgml LANG=C debiandoc2latexpdf $< %.pdf.gz: %.pdf - gzip -cf9 $< > $@ + gzip -ncf9 $< > $@ # This is a temporary hack to fold the upgrading-checklist into the Policy # HTML directory so that it can be deployed alongside Policy on