From a1d160b1dc9d5e65a87f1ddc8a0f595701a69d25 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 20 Aug 2007 21:43:46 +0200 Subject: add support for *.opts files --- examples/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples') 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 $< > $@ -- cgit v1.2.3