X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=a10b93d7092ebb6e22e33e3023d94b892f7422c4;hb=3c725b9d2af39ac3a7e24b7d9eb374a48c5b6893;hp=20433d734b6ab97ea85148164dcd29c386dcb080;hpb=e113754522a941098ca94134a926b0a2c265823f;p=debian%2Fdebian-policy.git diff --git a/Makefile b/Makefile index 20433d7..a10b93d 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,8 @@ 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 -l org-ascii --visit $^ \ --funcall org-export-as-ascii >/dev/null 2>&1 @@ -13,7 +12,6 @@ ifneq (,$(strip $(HAVE_ORG_EMACS))) %.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 $< @@ -47,6 +45,16 @@ endif %.pdf.gz: %.pdf gzip -cf9 $< > $@ +# This is a temporary hack to fold the upgrading-checklist into the Policy +# HTML directory so that it can be deployed alongside Policy on +# www.debian.org in a way that lets the cross-document links work properly. +# The correct solution is to make upgrading-checklist an appendix of Policy, +# which will probably be done as part of a general conversion to DocBook. +policy.html.tar.gz:: policy.html/upgrading-checklist.html +policy.html/upgrading-checklist.html: upgrading-checklist-1.html \ + policy.html/index.html + cp -p $< $@ + # convenience aliases :) html: policy.html/index.html html-1: policy-1.html