From 574196d698f3e5437d19e6f9476046f2bf09156f Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 29 May 2009 19:28:17 +0200 Subject: update gipfelweb Makefile and html script --- examples/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'examples/Makefile') 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`" $* > $@ -- cgit v1.2.3