summaryrefslogtreecommitdiffstats
path: root/slo/predstavitev/1/Makefile
blob: 19ae1deb70600f297921537ad90e2e15181aedc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SHELL ?= /bin/bash
.PHONY: clean default
default: dokument.pdf list.pdf list.min.pdf
list.pdf: list.md
	pandoc -V geometry:margin=1cm $< -o $@
list.min.pdf: list.pdf
	pdfjam $< --nup 2x1 --landscape --outfile $@ --no-tidy
dokument.pdf: dokument.tex oton.jpg plan.jpg lahkih.pdf
	~/projects/doc/f5ff.sh dokument
	biber dokument
	~/projects/doc/f5ff.sh dokument
oton.jpg:
	wget -c http://dlib.si/stream/URN:NBN:SI:img-MU025M3V/f92df1ba-45c7-4045-ad3e-d1a8a4e9f8a9/IMAGE -Ooton.jpg
plan.jpg:
	wget -c https://upload.wikimedia.org/wikipedia/commons/1/11/Oton_%C5%BDupan%C4%8Di%C4%8D_-_%C4%8Cez_plan_%28cover%29.jpg -Oplan.jpg
lahkih.pdf:
	wget -c https://cdn.sijanec.eu/img/2022/lahkih.pdf
clean:
	rm -rf *.jpg *.pdf *.aux *.auxlock *.bbl *.bcf *.blg *.dvi *.log *.nav *.out *.run.xml *.snm *.toc *.synctex.gz stdout.log stderr.log