summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
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`" $* > $@