From 1bf392602c0f567b2b01614e51dd70387e1f68f5 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 13 Nov 2014 22:36:35 +0100 Subject: [PATCH] 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. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 $< -- 2.39.2