From: David Bremner Date: Thu, 13 Nov 2014 21:36:35 +0000 (+0100) Subject: Makefile: update for new org function names in org 8.2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1bf392602c0f567b2b01614e51dd70387e1f68f5;p=debian%2Fdebian-policy.git Makefile: update for new org function names in org 8.2 Emacs 24.4 includes an updated org-mode, which changes the export framework quite a lot. This patch also stops sending errors and warnings to /dev/null, in order to help with debugging. --- 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 $<