X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=1f3675cf0858e084c39ece76c4193305020fbe47;hb=bf7f644adeee7880cce4845867dff8f6496fd522;hp=d9031ff7e2659ee931c69e6a567a7a366d84b631;hpb=b3c26418bcbf2a63b69a4ee889791e7326fe764d;p=debian%2Fdebian-policy.git diff --git a/Makefile b/Makefile index d9031ff..1f3675c 100644 --- a/Makefile +++ b/Makefile @@ -2,16 +2,16 @@ include debian/rules policy.sgml: version.ent menu-policy.sgml: version.ent -mime-policy.sgml: version.ent +perl-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' $@ %.html: %.org $(EMACS) --batch -Q -l ./README-css.el -l org --visit $^ \ --funcall org-export-as-html-batch >/dev/null 2>&1 -endif %.validate: % nsgmls -wall -gues $< @@ -54,8 +54,7 @@ pdf: policy.pdf policy: html txt ps pdf leavealone := $(FHS_HTML) $(FHS_FILES) $(FHS_ARCHIVE) \ - libc6-migration.txt \ - upgrading-checklist.html virtual-package-names-list.txt + libc6-migration.txt .PHONY: distclean distclean: