summaryrefslogtreecommitdiffstats
path: root/geo
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--geo/.gitignore1
-rw-r--r--geo/Makefile7
2 files changed, 8 insertions, 0 deletions
diff --git a/geo/.gitignore b/geo/.gitignore
new file mode 100644
index 0000000..a136337
--- /dev/null
+++ b/geo/.gitignore
@@ -0,0 +1 @@
+*.pdf
diff --git a/geo/Makefile b/geo/Makefile
new file mode 100644
index 0000000..82d23f6
--- /dev/null
+++ b/geo/Makefile
@@ -0,0 +1,7 @@
+pdfs := $(subst .md,.pdf,$(wildcard *.md))
+default: $(pdfs)
+%.pdf: %.md
+ pandoc -V geometry:margin=1cm $< -o $@
+.PHONY: clean
+clean:
+ rm -rf $(pdfs)