diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2021-11-14 00:04:19 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2021-11-14 00:04:19 +0100 |
commit | 4d80d035ded2a60855ed2c7f24d759a30294c107 (patch) | |
tree | 4a782763645c04653f9ccb2e874cac0adaca812d /nem/Makefile | |
parent | zadnji popravki pri kemiji (diff) | |
download | sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar.gz sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar.bz2 sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar.lz sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar.xz sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.tar.zst sola-gimb-3-4d80d035ded2a60855ed2c7f24d759a30294c107.zip |
Diffstat (limited to '')
-rw-r--r-- | nem/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nem/Makefile b/nem/Makefile index 3a7d223..97b50a9 100644 --- a/nem/Makefile +++ b/nem/Makefile @@ -1,6 +1,10 @@ SHELL := /bin/bash -default: +pdfs := $(subst .md,.pdf,$(wildcard *.md)) +default: $(pdfs) 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 - -prepare: - pip3 install csv2md +%.pdf: %.md + pandoc -V geometry:margin=1cm $< -o $@ +.PHONY: clean +clean: + rm -rf $(pdfs) unregelm.pdf |