X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=4b7f62dbb6b7f12189c7247715a967d975c0b8a8;hb=a34ae3cf97b43e0d200ff4e25b10fd6fad9494ad;hp=a10b93d7092ebb6e22e33e3023d94b892f7422c4;hpb=828c8af8877738ddfe892383cbe1ae668727e31a;p=debian%2Fdebian-policy.git diff --git a/Makefile b/Makefile index a10b93d..4b7f62d 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 $<