+release target in build.sh

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-29 16:52:53 +02:00
parent dde2f37054
commit 9a56c5122c

View file

@ -99,6 +99,10 @@ case "$1" in
${MANDIR}/cdist-reference.text.sh ${MANDIR}/cdist-reference.text.sh
;; ;;
release)
"$0" clean && "$0" man && "$0" web
;;
web) web)
cp README ${WEBDIR}/${WEBPAGE} cp README ${WEBDIR}/${WEBPAGE}
rm -rf ${WEBDIR}/${WEBBASE}/man && mkdir ${WEBDIR}/${WEBBASE}/man rm -rf ${WEBDIR}/${WEBBASE}/man && mkdir ${WEBDIR}/${WEBBASE}/man