diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-11-22 22:00:08 +0100 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-11-22 22:00:08 +0100 |
commit | 159d8f1e5816fc1b085a2f9c65463de4d433ad5b (patch) | |
tree | 2e4debfcfe5e9dc9931efc3eecb5a11f31856487 /geo/predstavitev/1/Makefile | |
parent | domača naloga 17 za matematiko (diff) | |
download | sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar.gz sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar.bz2 sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar.lz sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar.xz sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.tar.zst sola-gimb-2-159d8f1e5816fc1b085a2f9c65463de4d433ad5b.zip |
Diffstat (limited to 'geo/predstavitev/1/Makefile')
-rw-r--r-- | geo/predstavitev/1/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/geo/predstavitev/1/Makefile b/geo/predstavitev/1/Makefile new file mode 100644 index 0000000..d3dacda --- /dev/null +++ b/geo/predstavitev/1/Makefile @@ -0,0 +1,40 @@ +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 |