File: Makefile

package info (click to toggle)
mlpost 0.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,844 kB
  • sloc: ml: 21,094; javascript: 4,047; makefile: 430; ansic: 34; lisp: 19; sh: 15
file content (25 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (3)
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
MPSFILES := cfg proval mpex colortriangle path cheno pictures tree2 \
		tree6 florence
MPSFILES := $(patsubst %,%.mps, $(MPSFILES))

GENERATED := cfg proval colortriangle path cheno pictures tree2 tree6
GENERATED := $(patsubst %,%.mp, $(GENERATED))

pdf: slides.pdf

slides.pdf: $(MPSFILES) slides.tex
	pdflatex slides.tex
	pdflatex slides.tex

%.mps: %.ml
	mlpost -pdf -latex slides.tex $^

clean:
	rm -f *.toc *.aux *.pdf *.log *~ *.mp[sx] *.snm *.nav *.out
	rm -f $(GENERATED)

%.mps: %.1
	mv $^ $@

%.1: %.mp
	mpost $^ end