summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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}`