hgbook
changeset 171:8c1703a98266
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.
If the files it ships with aren't present, we can't build HTML.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 26 23:57:58 2007 -0700 (2007-03-26) |
parents | 9cd856b4bd21 |
children | 5f305adeb584 |
files | en/Makefile |
line diff
1.1 --- a/en/Makefile Mon Mar 26 23:55:21 2007 -0700 1.2 +++ b/en/Makefile Mon Mar 26 23:57:58 2007 -0700 1.3 @@ -110,14 +110,16 @@ 1.4 1.5 html: onepage split 1.6 1.7 -onepage: html/onepage/hgbook.html 1.8 +htlatex := /usr/bin/htlatex 1.9 1.10 -split: html/split/hgbook.html 1.11 +onepage: $(htlatex) html/onepage/hgbook.html 1.12 + 1.13 +split: $(htlatex) html/split/hgbook.html 1.14 1.15 # This is a horrible hack to work around the fact that the htlatex 1.16 # command in tex4ht is itself a horrible hack. I really don't want to 1.17 # include verbatim the big wad of TeX that is repeated in that script, 1.18 -# so instead I mangle the script itself. 1.19 +# but I've given up and run a hacked copy as htlatex.book here. 1.20 1.21 define htlatex 1.22 mkdir -p $(dir $(1))