Debian Codegraph @

texmf-dist/source/latex/talk/Makefile

raw
1 MF=Makefile
2
3 INSTALLDIR=${TEXMF}/tex/latex/talk
4
5 SRC=\
6 talk.cls \
7 talk-sidebars.sty \
8 talk-simple.sty \
9 talkdoc.tex
10
11
12 OTHER=\
13 README \
14 sidebars-example.tex \
15 simple-example.tex
16
17 DOC=\
18 talkdoc.pdf
19
20 EXAMPLES=\
21 sidebars-example.pdf \
22 simple-example.pdf
23
24 TAR=talk.tar.gz
25
26 all: $(DOC) $(EXAMPLES)
27
28 $(DOC): talkdoc.tex
29 pdflatex talkdoc.tex && pdflatex talkdoc.tex
30
31 sidebars-example.pdf: $(SRC) sidebars-example.tex
32 pdflatex sidebars-example.tex && pdflatex sidebars-example.tex
33
34 simple-example.pdf: $(SRC) simple-example.tex
35 pdflatex simple-example.tex && pdflatex simple-example.tex
36
37 package: $(MF) $(SRC) $(DOC) $(OTHER) $(EXAMPLES)
38 rm -f $(TAR)
39 tar zcvf $(TAR) --transform 's,^,talk/,' $(MF) $(SRC) $(DOC) $(OTHER) $(EXAMPLES)
40
41 install: talk.cls talk-sidebars.sty talk-simple.sty
42 install -d $(INSTALLDIR)
43 install talk.cls $(INSTALLDIR)/talk.cls
44 install talk-sidebars.sty $(INSTALLDIR)/talk-sidebars.sty
45 install talk-simple.sty $(INSTALLDIR)/talk-simple.sty