summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-09-20 19:48:29 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-09-20 19:48:29 +0200
commit9d458ef3f8998cdcf9a199f5e96e3bb30e9f5feb (patch)
tree10834a9440369a9a16bd3a9eeab924661f410ee7 /examples/Makefile
parentc07fe54c98eac73c2e517425928ba7eaa0ff4dff (diff)
add back-references in gipfelweb
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index f76bc32..0c20df5 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -30,7 +30,7 @@ gipfelweb/slides/%.jpg: %.jpg
jhead -te $< $@
gipfelweb/thumbs/%.jpg: %.jpg
- anytopnm $< | pamscale -xyfit 1000 150 | pnmtojpeg -quality 80 > $@
+ anytopnm $< | pamscale -xyfit 400 50 | pnmtojpeg -quality 80 > $@
gipfelweb/gipfel/%.pos: %.jpg
gipfel -p $< > $@
@@ -47,11 +47,15 @@ gipfelweb/gipfel/%.hills: gipfelweb/slides/%.jpg
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`" $* > $@
+
gipfelweb/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.imgs $(thumbs)
- gipfel2html images $* > $@
+ gipfel2html images $* $* > $@
gipfelweb/hills/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.hills %.title
gipfel2html hills "`cat $*.title`" $* > $@
gipfelweb/hills/%.html: gipfelweb/slides/%.jpg gipfelweb/gipfel/%.hills
- gipfel2html hills $* $* > $@
+ gipfel2html hills $* $* > $@