aboutsummaryrefslogtreecommitdiff
path: root/stanzione/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stanzione/Makefile')
-rw-r--r--stanzione/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/stanzione/Makefile b/stanzione/Makefile
new file mode 100644
index 0000000..4a3f928
--- /dev/null
+++ b/stanzione/Makefile
@@ -0,0 +1,25 @@
+.POSIX:
+.SUFFIXES: .tex .pdf
+
+PDFS = mm1.pdf
+
+PDFLATEX = pdflatex
+BIBER = biber
+
+all: $(PDFS)
+
+$(PDFS): sources.bib
+
+clean:
+ rm -f *.bbl *.blg *.log *.aux *.pdf *.run.xml *.bcf *.out
+
+.tex.pdf:
+ $(PDFLATEX) $<
+ $(BIBER) $*
+ $(PDFLATEX) $<
+ $(PDFLATEX) $<
+
+mm1.pdf: yang.jpg
+
+yang.jpg:
+ curl -o yang.jpg "https://upload.wikimedia.org/wikipedia/commons/7/7f/Yang-single_%28restoration%29.jpg"