summaryrefslogtreecommitdiffstats
path: root/nem
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nem/.gitignore1
-rw-r--r--nem/Makefile9
2 files changed, 3 insertions, 7 deletions
diff --git a/nem/.gitignore b/nem/.gitignore
deleted file mode 100644
index a136337..0000000
--- a/nem/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.pdf
diff --git a/nem/Makefile b/nem/Makefile
index 97b50a9..df582ef 100644
--- a/nem/Makefile
+++ b/nem/Makefile
@@ -1,10 +1,7 @@
SHELL := /bin/bash
-pdfs := $(subst .md,.pdf,$(wildcard *.md))
-default: $(pdfs) unregelm.pdf
+.PHONY: clean default
+default: unregelm.pdf
unregelm.pdf:
tr --squeeze-repeats "\\t" "," < unregelm.txt | csv2md | cat - <(tail -n 2 ferien.txt) | pandoc -f markdown -V geometry:margin=1cm /dev/stdin -o unregelm.pdf
-%.pdf: %.md
- pandoc -V geometry:margin=1cm $< -o $@
-.PHONY: clean
clean:
- rm -rf $(pdfs) unregelm.pdf
+ rm -rf unregelm.pdf