blob: 9972d1ebb9616a3b4f7821a6510b291ec2f0f38f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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
wget https://upload.wikimedia.org/wikipedia/commons/9/91/Soon-to-be-submerged_village_%283_Gorges%2C_China%29_--_10-2002.jpg -c -O img/village.jpg
wget https://upload.wikimedia.org/wikipedia/commons/3/3a/Baiji-Lipotes-vexillifer.jpg -c -O img/baiji.jpg
wget https://upload.wikimedia.org/wikipedia/commons/5/54/Psephurus_gladius.jpg -c -O img/gladius.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
|