blob: 147037cd95df26b2d3e5b9d8e297c11ed7bd9a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex)))
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
all: $(PDFS)
$(PDFS):
pdflatex -jobname $(basename $@) $(patsubst %.pdf, %.tikz.tex, $@)
install: $(PROJECTNAME)
cp $^.pdf $(INSTALLDIR)/
clean-aux:
rm -f $(addsuffix .aux, $(PROJECTNAME))
rm -f $(addsuffix .log, $(PROJECTNAME))
rm -f $(addsuffix .out, $(PROJECTNAME))
clean-tex:
rm -f $(PDFS) $(SYNCTEXS)
clean: clean-aux clean-tex
|