summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-29 19:28:17 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-05-29 19:28:17 +0200
commit574196d698f3e5437d19e6f9476046f2bf09156f (patch)
tree38e64514627e03b4a3b5b3ec0be2fe623dbf91c3 /examples/Makefile
parentc85a18bae0328360186abd6342b3a00e4986b9dd (diff)
update gipfelweb Makefile and html script
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 0c20df5..062c88c 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -26,11 +26,11 @@ dirs:
mkdir -p gipfelweb/gipfel
gipfelweb/slides/%.jpg: %.jpg
- anytopnm $< | pamscale -xyfit 10000 500 | pnmtojpeg -quality 94 > $@
+ anytopnm $< | pamscale -f lanczos -xyfit 20000 500 | pnmtojpeg -quality 94 > $@
jhead -te $< $@
gipfelweb/thumbs/%.jpg: %.jpg
- anytopnm $< | pamscale -xyfit 400 50 | pnmtojpeg -quality 80 > $@
+ anytopnm $< | pamscale -f point -xyfit 400 50 | pnmtojpeg -quality 80 > $@
gipfelweb/gipfel/%.pos: %.jpg
gipfel -p $< > $@
@@ -41,13 +41,15 @@ gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg %.opts gipfelweb/gipfel/index.gi
gipfelweb/gipfel/%.imgs: gipfelweb/slides/%.jpg gipfelweb/gipfel/index.gipfel
gipfel -V 0.05 -e gipfelweb/gipfel/index.gipfel $< > $@
+gipfelweb/gipfel/%.hills: gipfelweb/slides/%.jpg %.opts
+ gipfel `cat $*.opts` -E $< > $@
+
gipfelweb/gipfel/%.hills: gipfelweb/slides/%.jpg
gipfel -V 0.05 -E $< > $@
gipfelweb/gipfel/index.gipfel: $(positions)
cat $(positions) > gipfelweb/gipfel/index.gipfel
-
gipfelweb/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.imgs %.title $(thumbs)
gipfel2html images "`cat $*.title`" $* > $@