hsrm_theme/Makefile
Séverin Lemaignan fc92e3cf81 Added a Makefile
2014-06-27 23:12:58 +02:00

31 lines
554 B
Makefile

TARGET=presentation.tex
DOT=$(wildcard figs/*.dot)
SVG=$(wildcard figs/*.svg)
all: paper
%.pdf: %.svg
inkscape --export-pdf $(@) $(<)
%.aux: paper
%.svg: %.dot
twopi -Tsvg -o$(@) $(<)
bib: $(TARGET:.tex=.aux)
BSTINPUTS=:./sty bibtex $(TARGET:.tex=.aux)
paper: $(TARGET) $(SVG:.svg=.pdf) $(DOT:.dot=.pdf)
TEXINPUTS=:./sty xelatex $(TARGET)
clean:
rm -f *.spl *.idx *.aux *.log *.snm *.out *.toc *.nav *intermediate *~ *.glo *.ist *.bbl *.blg $(SVG:.svg=.pdf) $(DOT:.dot=.svg) $(DOT:.dot=.pdf)
distclean: clean
rm -f $(TARGET:.tex=.pdf)