summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/frcursive/Makefile
blob: 4325f2d400d5dbee6d2802c888e34f88a14ca6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
MP = mpost --interaction=batchmode
SRC = ../mf
LTX = ../latex

MPATH = env MFINPUTS=$(SRC):$$MFINPUTS
LMPATH = $(MPATH) TEXINPUTS=$(LTX):$$TEXINPUTS

all: fcsource.ps frcursive.ps

clean:
	rm -f *~ *.*pk *.tfm frcursive.* mfplain.* *.log *.aux *.toc *.dvi *.ps

#--  the pretty-printed source

fcsource.dvi: fcsource.tex frcursive.tex $(SRC)/frcr10.mf
	$(MPATH) tex $<
frcursive.tex: ../mf/frcursive.mf
	mft $<

#--  the LaTeX package's documentation

frcursive.dvi: $(LTX)/frcursive.dtx $(LTX)/frcursive.sty $(SRC)/frcr10.mf
	$(LMPATH) latex $<

#-- generic rules

%.ps: %.dvi $(SRC)/frcr10.mf
	dvips $< -o $@

$(SRC)/frcr10.mf:
	@make -C $(SRC)

$(LTX)/frcursive.sty:
	@make -C $(LTX)