summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-20 21:43:46 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-20 21:43:46 +0200
commita1d160b1dc9d5e65a87f1ddc8a0f595701a69d25 (patch)
treefed8e8def113aa5e6a6ee4bb42bd11748ffdf2ed /examples
parent5134117c0f36b0ad758e98284710a0cacba30682 (diff)
add support for *.opts files
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a863f23..19e6f74 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -26,14 +26,18 @@ dirs:
mkdir -p gipfelweb/gipfel
gipfelweb/slides/%.jpg: %.jpg
- convert -resize '10000x600>' -quality 90 $< $@
+ anytopnm $< | pamscale -xyfit 10000 500 | pnmtojpeg -quality 94 > $@
+ jhead -te $< $@
gipfelweb/thumbs/%.jpg: %.jpg
- convert -resize '1000x150>' -quality 80 $< $@
+ anytopnm $< | pamscale -xyfit 1000 150 | pnmtojpeg -quality 80 > $@
gipfelweb/gipfel/%.pos: %.jpg
gipfel -p $< > $@
+gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg %.opts gipfelweb/gipfel/index.gipfel
+ gipfel `cat $*.opts` -e gipfelweb/gipfel/index.gipfel $< > $@
+
gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg gipfelweb/gipfel/index.gipfel
gipfel -V 0.05 -e gipfelweb/gipfel/index.gipfel $< > $@