# HG changeset patch # User Bryan O'Sullivan # Date 1174978678 25200 # Node ID 8c1703a982669f8ce2ca7c4c086437ad0762384c # Parent 9cd856b4bd213b853d505c5eec8f03e3f2197005 Add a dependency on htlatex to HTML targets, even though we don't call it. If the files it ships with aren't present, we can't build HTML. diff -r 9cd856b4bd21 -r 8c1703a98266 en/Makefile --- a/en/Makefile Mon Mar 26 23:55:21 2007 -0700 +++ b/en/Makefile Mon Mar 26 23:57:58 2007 -0700 @@ -110,14 +110,16 @@ html: onepage split -onepage: html/onepage/hgbook.html +htlatex := /usr/bin/htlatex -split: html/split/hgbook.html +onepage: $(htlatex) html/onepage/hgbook.html + +split: $(htlatex) html/split/hgbook.html # This is a horrible hack to work around the fact that the htlatex # command in tex4ht is itself a horrible hack. I really don't want to # include verbatim the big wad of TeX that is repeated in that script, -# so instead I mangle the script itself. +# but I've given up and run a hacked copy as htlatex.book here. define htlatex mkdir -p $(dir $(1))