aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/fm/Makefile
blob: aee954ff2e498a2fee78eae3e641a662ea1f543e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Makefile -- make file for the paper fm
#
# (c) 2020 Prof Dr Andreas Mueller
#

SOURCES := \
	01_AM-FM.tex \
	02_frequenzyspectrum.tex \
	03_bessel.tex \
	04_fazit.tex \
	main.tex 

#TIKZFIGURES := \
	tikz/atoms-grid-still.tex \

#FIGURES := $(patsubst tikz/%.tex, figures/%.pdf, $(TIKZFIGURES))

all: images standalone

.PHONY: images
images: $(FIGURES)

#figures/%.pdf: tikz/%.tex
#	mkdir -p figures
#	pdflatex --output-directory=figures $<

.PHONY: standalone
standalone: standalone.tex $(SOURCES)  $(FIGURES)
	mkdir -p standalone
	cd ../..; \
		pdflatex \
			--halt-on-error \
			--shell-escape \
			--output-directory=papers/fm/standalone \
			papers/fm/standalone.tex;
	cd standalone; \
		bibtex standalone; \
		makeindex standalone;