From ff5fb5dbdb60f76db62e48ae94e3eb279311d326 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@brief.schottelius.org>
Date: Wed, 16 Nov 2011 08:10:50 +0100
Subject: [PATCH] remove obsolete cdist video link (to be replaced with new
 video)

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
---
 README | 2 --
 build  | 5 ++++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 1c2139cc..c3105e26 100644
--- a/README
+++ b/README
@@ -53,8 +53,6 @@ UNIX, simplicity, familar environment | cdist is configured in POSIX shell
 The cdist documentation is included as manpages in the distribution.
 
  * You can [browse the documentation of the latest version online](man) as well.
- * Or you can watch the youtube **video**
-[cdist installation and first usage in less than 60 seconds][http://www.youtube.com/watch?v=PRMjzy48eTI).
  * Have a look at the [given speeches](speeches)
 
 ### OS support
diff --git a/build b/build
index 38fdac07..919360ae 100755
--- a/build
+++ b/build
@@ -26,13 +26,16 @@
 # exit on any error
 #set -e
 
+version=$(git describe)
+
 # Manpage and HTML
 A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"
 A2XH="a2x -f xhtml --no-xmllint -a encoding=UTF-8"
 
 # Developer webbase
 WEBDIR=$HOME/niconetz
-WEBBASE=software/cdist
+WEBBASE=$WEBDIR/software/cdist
+WEBDOCBASE=$WEBBASE/$version
 WEBPAGE=${WEBBASE}.mdwn
 
 # Documentation