]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Explicitly load org-ascii when generating text files
authorRuss Allbery <rra@debian.org>
Fri, 13 Nov 2009 19:41:46 +0000 (11:41 -0800)
committerRuss Allbery <rra@debian.org>
Fri, 13 Nov 2009 19:41:46 +0000 (11:41 -0800)
Works around a problem with org-export-as-ascii not being apparently
autoloaded on at least some systems.

Makefile

index c3e6b4914d07f62b482fce8d9acbebd39a296189..c6d391007283e22165cdd86ebf7ab9adeaaa1ae0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ mime-policy.sgml: version.ent
 
 ifneq (,$(strip $(HAVE_ORG_EMACS)))
 %.txt: %.org
-       $(EMACS) --batch -Q -l ./README-css.el -l org --visit $^ \
+       $(EMACS) --batch -Q -l ./README-css.el -l org -l org-ascii --visit $^ \
           --funcall org-export-as-ascii >/dev/null 2>&1
        test "$@" != "README.txt"  ||                            \
            perl -pli -e 's,./Process.org,Process.txt,g' $@