Files
lt16lab/documentation/Makefile
Thomas Fehmel 657a54ba18 Initial Commit
2016-10-18 14:21:45 +02:00

28 lines
610 B
Makefile

SVGS= $(wildcard figures/*.svg)
IMGS= $(SVGS:.svg=.pdf)
SRCS= $(wildcard *.tex)
#SRCS+= refs3.bib
docu=soc
TARGET=$(addsuffix .pdf,$(docu))
all: target images
target: $(TARGET) $(IMGS)
images: $(IMGS)
figures/%.pdf: figures/%.svg
inkscape -z -T -A $@ $<
%.pdf: %.tex $(SRCS) $(IMGS)
pdflatex -jobname=$(basename $@) -synctex=1 -interaction=nonstopmode -shell-escape $<
pdflatex -jobname=$(basename $@) -synctex=1 -interaction=nonstopmode -shell-escape $<
## Other Targets
clean:
rm -f $(IMGS) *.aux *.log *.dvi soc.pdf *.ps *.pyg *.toc *.loc *.lot *.out *.lof *.lol *.synctex.gz
.PHONY: all clean