Debian Codegraph @

texmf-dist/doc/latex/ucs/GNUmakefile

raw symbols SCIP
1 #FIXME: In general, we should modify this makefile such that it becomes
2 # less hacky.
3
4 ucs_generated = ucs.sty utf8x.def ucsencs.def ucsutils.sty ucshyper.sty
5 utils_generated = c00enc.def \
6 c10enc.def \
7 c40enc.def \
8 c42enc.def \
9 c61enc.def \
10 cenccmn.tex \
11 lklenc.def \
12 lklkli.fd \
13 autofe.sty \
14 ldvenc.def \
15 ldvarial.fd \
16 ldvc2000.fd \
17 letenc.def \
18 letgfzem.fd \
19 letjiret.fd \
20 letc2000.fd \
21 ltaenc.def \
22 ltaarial.fd \
23 ltac2000.fd \
24 ltgenc.def \
25 ltgc2000.fd \
26 ltlenc.def \
27 ltlcmr.fd \
28 lucenc.def \
29 lucc2000.fd \
30 lucarial.fd \
31 mkrenc.def \
32 mkrezra.fd \
33 mkrhadas.fd \
34 mkromega.fd \
35 mkrrashi.fd \
36 t2denc.def \
37 t2dcmr.fd \
38 tengwarDS.enc \
39 ltwenc.def \
40 ltwdsque.fd \
41 ltwdsnol.fd \
42 ltwdssin.fd \
43 xsenc.def \
44 xscmr.fd \
45 cp1252.enc
46
47 local_pdflatex=TEXINPUTS=".;data;utils;" pdflatex
48
49 all: docstrip datafiles doc
50 .PHONY: all
51
52 clean: clean-doc clean-datafiles clean-docstrip clean-dist
53 .PHONY: clean
54
55 docstrip: clean-docstrip
56 tex ucs.ins
57 rm ucs.log
58 mv $(utils_generated) utils
59 .PHONY: docstrip
60
61 clean-docstrip:
62 rm -f $(ucs_generated)
63 cd utils; rm -f $(utils_generated)
64 .PHONY: clean-docstrip
65
66 datafiles: clean-datafiles
67 wget http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
68 mkdir data
69 perl -w makeunidef.pl --nocomments --targetdir=data config/*.ucf
70 rm UnicodeData.txt
71 .PHONY: datafiles
72
73 clean-datafiles:
74 rm -rf data
75 .PHONY: clean-datafiles
76
77 doc: docstrip datafiles clean-doc
78 $(local_pdflatex) -draftmode ucs.dtx
79 makeindex -s gind ucs.idx
80 makeindex -s gglo -o ucs.gls ucs.glo
81 $(local_pdflatex) ucs.dtx
82 rm -f ucs.{aux,glo,gls,idx,ilg,ind,log,out,toc}
83 .PHONY: doc
84
85 clean-doc:
86 rm -f ucs.pdf
87 .PHONY: clean-doc
88
89 dist: clean-dist
90 darcs dist --dist-name ucs --set-scripts-executable
91 .PHONY: dist
92
93 clean-dist:
94 rm -f ucs.tar.gz
95 .PHONY: clean-dist