Debian Codegraph @

texmf-dist/fonts/map/dvips/tetex/Makefile

raw
1 # $Id: Makefile 31831 2013-10-04 18:33:49Z karl $
2 # Copyright 2013 Karl Berry.
3 # You may freely use, modify, and/or distribute this file.
4 #
5 # Makefile to help with the base35/base14 support in TL. See ./README.
6
7 # The main texmf-dist directory.
8 xmf = $(shell cd ../../../.. && pwd)
9
10 # Pieces of the invocation.
11 tmpdir = /tmp/umap
12 umap_env = TEXMFSYSVAR=$(tmpdir)
13 #
14 umap_prog = updmap-sys
15 umap_opts = --copy --nohash --quiet
16 umap_cnf = --cnffile=$(xmf)/web2c/updmap.cfg
17 #
18 mapdir = $(xmf)/fonts/map
19 umap_out = --dvipdfmxoutputdir=$(mapdir)/dvipdfmx/updmap \
20 --dvipsoutputdir=$(mapdir)/dvips/updmap \
21 --pdftexoutputdir=$(mapdir)/pdftex/updmap
22 #
23 umap_opts_all = $(umap_opts) $(umap_cnf) $(umap_out)
24
25 # Rerun updmap, diff results.
26 makemaps:
27 rm -rf $(tmpdir)
28 $(umap_env) $(umap_prog) $(umap_opts_all)
29 svn status $(mapdir) $(xmf)/web2c
30 svn diff $(mapdir) $(xmf)/web2c \
31 >$(tmpdir)/sdiff
32
33 # Conveniently show the pdftex-generated fontflags; inserted the results
34 # (by hand) in pdftex35.map, 4oct13. pdftex outputs the flag values in
35 # the midst of the two-line warning messages. The sed/etc. nonsense is
36 # just to print the results nicely. See $(base).tex for more.
37 base = base14flags
38 showflags:
39 pdflatex '\nonstopmode\input $(base).tex' >$(base).trn
40 sed -n -e 's,.*ded font ,,p' \
41 -e 's,I.m using ,,' \
42 -e 's,: fix your map entry.,,p' \
43 $(base).log \
44 | paste - - \
45 | tr -d ' `()'"'" \
46 | sort +1 \
47 | tee $(base).flags
48
49 # Test with minimal LaTeX document.
50 check:
51 pdflatex '\nonstopmode\input base14flags.ltx'