summaryrefslogtreecommitdiffstats
path: root/slo/predstavitev/1/Makefile
blob: faf115095910b2dcbbceffc619aa499b0fb71acf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
default:
	@echo "Makefile za predstavitev Uvod v kriptografijo in RSA."
	@echo "recepti:"
	@echo "- d: prenese+prevede slike iz Interneta (potrebni wget, sed, inkscape)"
	@echo "- update: git pull origin master (potreben git)"
	@echo "- g: generira PDF (download moraš narediti ti) (p. f5ff, biber, latex)"
	@echo "- clean: izbriše avtomatsko generirane stvari in slike (razen PDF)"

d:
	mkdir -p img
	wget https://upload.wikimedia.org/wikipedia/commons/b/bf/Gogol_Palto.jpg?download -Oimg/plasc.jpg -c
	wget https://upload.wikimedia.org/wikipedia/commons/3/31/NV_Gogol.png?download -Oimg/gogolj.png -c
	wget https://upload.wikimedia.org/wikipedia/commons/b/b5/La_Parure_-_Gil_Blas.jpg -Oimg/nakit.jpg -c
	wget https://upload.wikimedia.org/wikipedia/commons/8/81/Maupassant_par_Nadar.jpg -Oimg/maupassant.jpg -c

update:
	git pull origin master

g:
	~/projects/doc/f5ff.sh dokument
	biber dokument
	~/projects/doc/f5ff.sh dokument

clean:
	rm -f *.aux *.auxlock *.bbl *.bcf *.blg *.dvi *.log *.nav *.out *.run.xml *.snm *.toc *.synctex.gz stdout.log stderr.log
	rm -rf img