From 115678917f285ef45928510f61fb8cd48c6a46b5 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 4 Jul 2021 17:52:10 +0200 Subject: Create standalone make target for faster compilation It takes around 20s on linux and 45s in WSL to compile the book, which is a lot. The file `standalone.tex` is a skeleton that takes the minimum required from `book.tex` to compile only our paper. It is intended only for writing the draft. --- buch/papers/punktgruppen/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'buch/papers/punktgruppen/Makefile') diff --git a/buch/papers/punktgruppen/Makefile b/buch/papers/punktgruppen/Makefile index 15c0aa0..3960d76 100644 --- a/buch/papers/punktgruppen/Makefile +++ b/buch/papers/punktgruppen/Makefile @@ -3,6 +3,12 @@ # # (c) 2020 Prof Dr Andreas Mueller # +SOURCES := \ + crystals.tex \ + intro.tex \ + main.tex \ + piezo.tex \ + symmetry.tex TIKZFIGURES := \ tikz/combine-symmetries.tex \ @@ -20,3 +26,15 @@ figures/%.pdf: tikz/%.tex mkdir -p figures pdflatex --output-directory=figures $< +.PHONY: standalone +standalone: standalone.tex $(SOURCES) + mkdir -p standalone + cd ../..; \ + pdflatex \ + --halt-on-error \ + --shell-escape \ + --output-directory=papers/punktgruppen/standalone \ + papers/punktgruppen/standalone.tex; + cd standalone; \ + bibtex standalone; \ + makeindex standalone; -- cgit v1.2.1