Debian Codegraph @

texmf-dist/doc/generic/tex4ht/Makefile

raw
1 # $Id: Makefile 786 2020-08-24 17:18:49Z karl $
2 # Makefile for original tex4ht ("mn") documentation. Public domain.
3
4 # karl's environment to get latest released files ...
5 tldev_cmd := $(shell $(path) which tldev 2>/dev/null)
6 ifdef tldev_cmd
7 dev = tldev
8 else
9 dev =
10 endif
11
12 tex = $(dev) etex -interaction=nonstopmode -file-line-error
13 bld: clean
14 # chmod -R a+rwX . # as received from OSU
15 $(tex) mn && $(tex) mn && $(tex) mn
16 $(dev) tex4ht mn </dev/null
17 $(dev) t4ht mn </dev/null # needs mk4ht.4ht, symlink in svn
18 rm -f *.zip # nothing to do with .zip
19 # A tremendous number of unnecessary and failing commands are run,
20 # but the output seems more or less ok.
21
22 inst_dir = /r/tug/home/texlive/karl/Master/texmf-dist/doc/generic/tex4ht
23 # look for "Only in /..." for files in TL now that should be removed.
24 dif:
25 diff -u0 $(inst_dir) . | grep -v '<small>Generated '
26
27 # have to add new files by hand.
28 install:
29 cp -p `(cd $(inst_dir) && \ls)` $(inst_dir)
30 svn status $(inst_dir)
31
32 clean:
33 rm -f *.4ct *.4tc *.aux *.css *.dvi *.idv *.lg *.log *.tmp *.trc *.xref
34 rm -f *.4es *.bat *.unix *.htf *.png *.fls tmp
35 rm -f m*.html bugfixes.html # not index.html