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/bands.fig/Makefile |
Initial commitv1.0
Diffstat (limited to 'figs/bands.fig/Makefile')
-rw-r--r-- | figs/bands.fig/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/figs/bands.fig/Makefile b/figs/bands.fig/Makefile new file mode 100644 index 0000000..cb5ada5 --- /dev/null +++ b/figs/bands.fig/Makefile @@ -0,0 +1,25 @@ +PROJECTNAME=$(basename $(wildcard *.gnuplot)) + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) + +all: $(PDFS) + +$(PDFS): + gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +clean-aux: + rm -f $(addsuffix .tikz.tex, $(PROJECTNAME)) + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + +clean-dat: + rm -f $(DATS) + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex |