Debian Codegraph @

texmf-dist/source/latex/iwonamath/Makefile

raw
1 PACKAGE=iwonamath
2
3 SAMPLES = sample.tex
4
5 PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
6
7 FD = \
8 omliwonamath.fd \
9 omliwonamathc.fd \
10 omliwonamathl.fd \
11 omliwonamathlc.fd \
12 omsiwonamath.fd \
13 omsiwonamathc.fd \
14 omsiwonamathcmsy.fd \
15 omsiwonamathl.fd \
16 omsiwonamathlc.fd \
17 omxiwonamath.fd \
18 omxiwonamathc.fd \
19 omxiwonamathl.fd \
20 omxiwonamathlc.fd \
21 ot1iwonamath.fd \
22 ot1iwonamathc.fd \
23 ot1iwonamathcm.fd \
24 ot1iwonamathl.fd \
25 ot1iwonamathlc.fd \
26 ot1iwonamathlcm.fd \
27 ot1iwonamathlm.fd \
28 ot1iwonamathm.fd
29
30 all: ${PDF} $(PACKAGE).sty $(FD)
31
32
33 %.pdf: %.dtx $(PACKAGE).sty
34 pdflatex $<
35 - bibtex $*
36 pdflatex $<
37 - makeindex -s gind.ist -o $*.ind $*.idx
38 - makeindex -s gglo.ist -o $*.gls $*.glo
39 pdflatex $<
40 while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
41 do pdflatex $<; done
42
43
44 %.sty: %.ins %.dtx
45 pdflatex $<
46
47 %.pdf: %.tex $(PACKAGE).sty $(FD)
48 pdflatex $<
49 - bibtex $*
50 pdflatex $<
51 pdflatex $<
52 while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
53 do pdflatex $<; done
54
55 %.fd: $(PACKAGE).ins $(PACKAGE).dtx
56 pdflatex $<
57 ./makeiwonamathfd.sh
58
59
60
61
62 clean:
63 $(RM) *_FAMILY_* *.log *.aux \
64 *.cfg *.glo *.idx *.toc \
65 *.ilg *.ind *.out *.lof \
66 *.lot *.bbl *.blg *.gls \
67 *.dvi *.ps *.thm *.tgz *.zip *.rpi \
68 *.hd sample-blx.bib \
69 omsiwonamathcmsy.fd *.sty
70
71
72 distclean: clean
73 $(RM) $(PDF) $(PACKAGE).sty $(FD)
74
75 #
76 # Archive for the distribution. Includes typeset documentation
77 #
78 archive: all clean
79 COPYFILE_DISABLE=1 \
80 tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' --exclude LICENSE \
81 --exclude '*.tgz' --exclude '*.zip' --exclude .git $(PACKAGE)
82 mv ../$(PACKAGE).tgz .
83
84 zip: all clean
85 make $(PACKAGE).sty
86 $(RM) $(PACKAGE).log
87 cd ..;\
88 zip -r $(PACKAGE).zip $(PACKAGE) -x "*.ins" -x "*.gitignore"
89