summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/predstavitev/1
blob: 6490a5902a2f244d37bb7b5cc7404e6c0f868e34 (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 Potisna sila vodne rakete."
	@echo "recepti:"
	@echo "- d: prenese+prevede slike iz Interneta (potrebna wget in imagemagick)"
	@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 -c https://upload.wikimedia.org/wikipedia/commons/1/15/Boyles_Law_animated.gif -Oimg/bojl.gif
	convert img/bojl.gif -pointsize 20 -gravity center \
		-fill black -background white -undercolor white -annotate -100+100 "konst. m in T" \
		img/nbojl.gif

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