Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'figs/brillouin.fig/Makefile')
-rw-r--r--figs/brillouin.fig/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/figs/brillouin.fig/Makefile b/figs/brillouin.fig/Makefile
new file mode 100644
index 0000000..147037c
--- /dev/null
+++ b/figs/brillouin.fig/Makefile
@@ -0,0 +1,23 @@
+PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex)))
+
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS):
+ pdflatex -jobname $(basename $@) $(patsubst %.pdf, %.tikz.tex, $@)
+
+
+install: $(PROJECTNAME)
+ cp $^.pdf $(INSTALLDIR)/
+
+
+clean-aux:
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+ rm -f $(addsuffix .out, $(PROJECTNAME))
+
+clean-tex:
+ rm -f $(PDFS) $(SYNCTEXS)
+
+clean: clean-aux clean-tex