From 9a56c5122c86649e6665516c77d82f7668523378 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Tue, 29 Mar 2011 16:52:53 +0200
Subject: [PATCH] +release target in build.sh

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 build.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.sh b/build.sh
index 52b3466e..1d02256f 100755
--- a/build.sh
+++ b/build.sh
@@ -99,6 +99,10 @@ case "$1" in
       ${MANDIR}/cdist-reference.text.sh
    ;;
 
+   release)
+      "$0" clean && "$0" man && "$0" web
+   ;;
+
    web)
       cp README ${WEBDIR}/${WEBPAGE}
       rm -rf ${WEBDIR}/${WEBBASE}/man && mkdir ${WEBDIR}/${WEBBASE}/man