Debian Codegraph @

texmf-dist/source/latex/notes/Makefile

raw
1 # This makefile should work with any make
2
3 IMGFILES = hand.fig info.fig warn.fig
4 EPSFILES = hand.eps info.eps warn.eps
5 PDFFILES = hand.pdf info.pdf warn.pdf
6 PNGFILES = hand.png info.png warn.png
7
8 # GNUmake rules to substitute extenstions
9 #EPSFILES := $(patsubst %.fig, %.eps, $(IMGFILES))
10 #PDFFILES := $(patsubst %.fig, %.pdf, $(IMGFILES))
11 #PNGFILES := $(patsubst %.fig, %.png, $(IMGFILES))
12
13 FILES = ${EPSFILES} ${PDFFILES} ${PNGFILES}
14
15 all: eps png pdf notes.ps
16
17 eps: $(EPSFILES)
18
19 png: $(PNGFILES)
20
21 pdf: $(PDFFILES)
22
23 notes.sty: notes.dtx notes.ins
24 latex notes.ins
25
26 notes.dvi: notes.sty
27 ./makedoc
28
29 notes.ps: notes.dvi
30 dvips -t a4 -o notes.ps notes.dvi
31
32 testnotes.dvi: testnotes.tex notes.sty
33 latex testnotes.tex
34 latex testnotes.tex
35
36 clean:
37 rm -f $(FILES)
38
39 .SUFFIXES: .fig .eps .png .pdf
40
41 .fig.eps:
42 fig2dev -Leps $< $@
43
44 .fig.png:
45 fig2dev -Lpng $< $@
46
47 .fig.pdf:
48 fig2dev -Lpdf $< $@