summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/predstavitev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fiz/naloga/predstavitev/Makefile')
-rw-r--r--fiz/naloga/predstavitev/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/fiz/naloga/predstavitev/Makefile b/fiz/naloga/predstavitev/Makefile
index 0f30cfd..24c449b 100644
--- a/fiz/naloga/predstavitev/Makefile
+++ b/fiz/naloga/predstavitev/Makefile
@@ -1,13 +1,22 @@
default:
@echo "Makefile za predstavitev Potisna sila vodne rakete."
@echo "recepti:"
- @echo "- d: prenese+prevede slike iz Interneta (potrebni wget, sed, inkscape)"
+ @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 25 \
+ -fill black -undercolor white -annotate +320+25 "konstantna m in T" \
+ -annotate +4+20 "masa" \
+ -annotate +43+396 "pritisk " \
+ -annotate +265+396 "temperatura" \
+ -undercolor blue -fill white -annotate +250+70 "pro. " \
+ img/nbojl.gif
+ convert img/nbojl.gif -coalesce img/genbojl%d.png
update:
git pull origin master