Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <jauslin@ias.edu>2017-03-30 02:47:52 +0000
committerIan Jauslin <jauslin@ias.edu>2017-03-30 03:05:27 +0000
commitc91fccd07c9ba1753d7006482512352423046c74 (patch)
tree02927b499ba5217409644bd092f17887a74e5db9 /figs/bands_second.fig/Makefile
As presented at Princeton University on 2017-03-30HEADv1.0master
Diffstat (limited to 'figs/bands_second.fig/Makefile')
-rw-r--r--figs/bands_second.fig/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/figs/bands_second.fig/Makefile b/figs/bands_second.fig/Makefile
new file mode 100644
index 0000000..b026463
--- /dev/null
+++ b/figs/bands_second.fig/Makefile
@@ -0,0 +1,23 @@
+PROJECTNAME=bands_second
+
+all: $(PROJECTNAME).pdf
+
+$(PROJECTNAME).pdf:
+ python $(PROJECTNAME).py > $(PROJECTNAME).dat
+ gnuplot $(PROJECTNAME).gnuplot
+ pdflatex -jobname $(PROJECTNAME) $(PROJECTNAME)_plot.tex
+
+install: $(PROJECTNAME).pdf
+ cp $(PROJECTNAME).pdf $(INSTALLDIR)/
+
+
+clean-aux:
+ rm -f $(PROJECTNAME).aux
+ rm -f $(PROJECTNAME).log
+ rm -f $(PROJECTNAME).dat
+ rm -f $(PROJECTNAME)_plot.tex
+
+clean-pdf:
+ rm -f $(PROJECTNAME).pdf
+
+clean: clean-aux clean-pdf