summaryrefslogtreecommitdiffstats
path: root/bio
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-11-14 15:32:35 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2021-11-14 15:32:35 +0100
commit5ce1dbf8299eb376262ce215abe4834a3ff70b0a (patch)
tree1a34c732d00d2db91330f7637562d81630c97505 /bio
parentnemščina (diff)
downloadsola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar.gz
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar.bz2
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar.lz
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar.xz
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.tar.zst
sola-gimb-3-5ce1dbf8299eb376262ce215abe4834a3ff70b0a.zip
Diffstat (limited to '')
-rw-r--r--bio/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/bio/Makefile b/bio/Makefile
index 1cbad3c..cd9bb20 100644
--- a/bio/Makefile
+++ b/bio/Makefile
@@ -1,3 +1,8 @@
SHELL := /bin/bash
-default:
- pandoc -f markdown -V geometry:margin=1cm zvezek.md -o zvezek.pdf
+pdfs := $(subst .md,.pdf,$(wildcard *.md))
+default: $(pdfs)
+%.pdf: %.md
+ pandoc -V geometry:margin=1cm $< -o $@
+.PHONY: clean
+clean:
+ rm -rf $(pdfs)