default: @echo "Makefile za predstavitev Jez treh sotesk." @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/a/ab/ThreeGorgesDam-China2009.jpg -O img/jts2009.jpg -c wget https://upload.wikimedia.org/wikipedia/commons/7/70/Three_gorges_dam_annual_power_output_SVG.svg -O img/graf.svg -c sed -e "s/Current/trenutno/g" -e "s/installed/nameščena/g" \ -e "s/capacity/kapaciteta/g" -e "s/Maximum/maksimalna/g" \ -e "s/\slimit/\ \(omejitev\)/g" -e "s/possible/možna/g" \ -e "s/power output/izhodna moč/gi" -e "s/in\s/v\ /g" \ -e "s/Actual/dejanska/g" -e "s/Annual/letna/g" \ -e "s/Three Gorges Dam/Jez Treh sotesk -/g" \ -e "s/months/meseci/gi" -e "s/of the//g" -e "s/year/leta/g" \ -e "s/MW kapaciteta/MW kapaciteti toka/g" -e "s/\sat/\ pri/g" \ -i img/graf.svg convert -background none -density 300 img/graf.svg img/graf.png wget https://upload.wikimedia.org/wikipedia/commons/a/a8/ThreeGorgesDam-Landsat7.jpg -O img/akum.jpg -c wget https://upload.wikimedia.org/wikipedia/commons/9/99/A_view_of_Yangtze_River%2C_China_%28Unsplash%29.jpg -c -O img/jangce.jpg wget https://upload.wikimedia.org/wikipedia/commons/b/b7/Three_Georges_Dam_-_panoramio_%281%29.jpg -c -O img/zapornice.jpg wget https://upload.wikimedia.org/wikipedia/commons/0/02/Three_Gorges_Dam_%2812280456164%29.jpg -c -O img/dvigalo.jpg wget https://upload.wikimedia.org/wikipedia/commons/7/75/%E6%96%BD%E5%B7%A5%E4%B8%AD%E7%9A%84%E4%B8%89%E5%B3%BD%E5%A3%A9_Three_Gorges_Dam_under_construction_-_panoramio.jpg -c -O img/gradnja.jpg wget https://upload.wikimedia.org/wikipedia/commons/d/df/Wanzhou_City_Slums.jpg -c -O img/wanzhou.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