diff options
author | Ian Jauslin <ian@jauslin.org> | 2022-06-14 16:32:34 +0200 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2022-06-14 16:32:34 +0200 |
commit | d254a3e3f495e9cd3110ae48020786466d850d57 (patch) | |
tree | c88e465b5bc2aff974daaa3617adf615a0b68880 /figs/brillouin.fig/Makefile |
Initial commitv1.0
Diffstat (limited to 'figs/brillouin.fig/Makefile')
-rw-r--r-- | figs/brillouin.fig/Makefile | 23 |
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 |