From bd42e86fd53e7e6c6c5bb837762fbc29676614ca Mon Sep 17 00:00:00 2001
From: Johannes Hofmann <Johannes.Hofmann@gmx.de>
Date: Sat, 11 Aug 2007 14:44:16 +0200
Subject: adjust gipfelweb stuff

---
 examples/Makefile    | 2 +-
 examples/gipfel2html | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

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}`
 
-- 
cgit v1.2.3