diff options
Diffstat (limited to 'figs/trajectory.fig/Makefile')
-rw-r--r-- | figs/trajectory.fig/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/figs/trajectory.fig/Makefile b/figs/trajectory.fig/Makefile new file mode 100644 index 0000000..3af70f0 --- /dev/null +++ b/figs/trajectory.fig/Makefile @@ -0,0 +1,30 @@ +PROJECTNAME=trajectory + +SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) +TEXS=trajectory.tikz.tex + +all: $(PDFS) + +$(PDFS): $(TEXS) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +trajectory.tikz.tex: + python trajectory.py > $@ + + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +clean-aux: + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + +clean-dat: + rm -f $(TEXS) + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex |