diff options
author | Nao Pross <np@0hm.ch> | 2021-07-04 17:52:10 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-07-04 17:52:31 +0200 |
commit | 115678917f285ef45928510f61fb8cd48c6a46b5 (patch) | |
tree | 2128f2e7bacd2010bcdb0794ef6f5bc1ce96dd86 /buch/papers/punktgruppen/Makefile | |
parent | Write Intro (diff) | |
download | SeminarMatrizen-115678917f285ef45928510f61fb8cd48c6a46b5.tar.gz SeminarMatrizen-115678917f285ef45928510f61fb8cd48c6a46b5.zip |
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.
Diffstat (limited to 'buch/papers/punktgruppen/Makefile')
-rw-r--r-- | buch/papers/punktgruppen/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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; |