summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-11 14:44:16 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-11 14:44:16 +0200
commitbd42e86fd53e7e6c6c5bb837762fbc29676614ca (patch)
tree3e34f46b63525020a53974b57acb598ee312d591
parent8a8a51d736074cfa9dbd8a7f46842933d558a46f (diff)
adjust gipfelweb stuff
-rw-r--r--examples/Makefile2
-rwxr-xr-xexamples/gipfel2html4
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 95d85fe..4b3ee86 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -29,7 +29,7 @@ gipfelweb/gipfel/%.pos: %.jpg
gipfel -e position $< > $@
gipfelweb/gipfel/%.gipf: gipfelweb/slides/%.jpg gipfelweb/gipfel/index.gipfel
- gipfel -v 0.03 -d gipfelweb/gipfel/index.gipfel -e hills $< > $@
+ gipfel -v 0.02 -d gipfelweb/gipfel/index.gipfel -e hills $< > $@
gipfelweb/gipfel/index.gipfel: $(positions)
cat $(positions) > gipfelweb/gipfel/index.gipfel
diff --git a/examples/gipfel2html b/examples/gipfel2html
index 1016b94..5b0e6ea 100755
--- a/examples/gipfel2html
+++ b/examples/gipfel2html
@@ -14,6 +14,10 @@ EOF
i=0
grep -v "^#" gipfelweb/gipfel/${1}.gipf | \
while read name height x y dist flags dummy; do
+ if [ "${flags}" = "HIDDEN" ]; then
+ continue
+ fi
+
thumb_w=`identify -format %w gipfelweb/thumbs/${name}`
thumb_h=`identify -format %h gipfelweb/thumbs/${name}`