-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (29 loc) · 934 Bytes
/
Makefile
File metadata and controls
39 lines (29 loc) · 934 Bytes
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
35
36
37
38
39
IMAGES=\
graphics/coordinates.pdf \
graphics/gradients.pdf \
graphics/outline-polgon.pdf \
graphics/outline-rectangles.pdf \
graphics/overview.pdf \
graphics/fill-polygon.pdf \
graphics/fill-rectangles.pdf \
graphics/draw-line-loop.pdf \
graphics/draw-line-strip.pdf \
graphics/draw-lines.pdf \
design/logo.pdf
all: specification.pdf specification.md specification.txt
specification.pdf: specification.tex clean $(IMAGES)
rm -f *.aux *.log *.pdf *.fls *.synctex.gz *.fdb_latexmk
xelatex -interaction=nonstopmode -halt-on-error "$<"
xelatex -interaction=nonstopmode -halt-on-error "$<"
specification.md: specification.tex
pandoc -f latex -t gfm -o "$@" "$<"
specification.txt: specification.tex
pandoc -f latex -t plain -o "$@" "$<"
%.pdf: %.svg
rsvg-convert "$<" -f pdf -o "$@"
%.svg: %.tvgt
tvg-text -o "$@" "$<"
clean:
rm -f *.aux *.log *.pdf *.fls *.synctex.gz *.fdb_latexmk
.SUFFIXES:
.PHONY: clean