summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/tekst/Makefile
blob: 8b615195bd68d2e39c53cd78fb548a7aad158b4f (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
default:
	@echo "Makefile za tekst."
	@echo "recepti:"
	@echo "- d: prenese+prevede slike iz Interneta (potreben wget)"
	@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://pixabay.com/get/g7f2e46d8425444f575d7595c3482b76a2c81b6c741ee24c82edd8ac10d3d3f48067c957396ce7733e5dfccb509954cc9.jpg?attachment= -c -Oimg/loadcell.jpg
	wget https://upload.wikimedia.org/wikipedia/commons/5/52/Druckmessumformer.jpg?download -c -Oimg/pressure.jpg
	wget http://razor.arnes.si/~asija3/files/sola/gimb/1/fiz/naloga/tekst/slike/esp8266.jpg -c -Oimg/esp8266.jpg

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