From 83d8c8ed0b643f7ad2f8154a9ae247bcb87ec6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 1 Nov 2021 22:56:26 +0100 Subject: skripti --- geo/.gitignore | 1 + geo/Makefile | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 geo/.gitignore create mode 100644 geo/Makefile 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) -- cgit v1.2.3