From d4ec265fcdc44fbf115d0b4ecb17ae6e708ea3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 15 Nov 2021 20:07:00 +0100 Subject: =?UTF-8?q?izbolj=C5=A1al=20make=20sistem.=20potrebno=20=C4=8De=20?= =?UTF-8?q?implementati=20dokument.tex=20v=20make?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nem/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'nem/Makefile') 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 -- cgit v1.2.3