adjust web target

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-25 22:13:07 +01:00
parent 88ca7a44ec
commit 683e813ce2

View file

@ -98,10 +98,10 @@ case "$1" in
web)
cp README ${WEBDIR}/${WEBPAGE}
rm -rf ${WEBDIR}/${WEBBASE}/man && mkdir ${WEBDIR}/${WEBBASE}/man
cp -r ${MANHTMLDIR}/* ${WEBDIR}/${WEBBASE}/man
cd ${WEBDIR} && echo git add ${WEBBASE}/man
cd ${WEBDIR} && echo git commit -m "cdist update" ${WEBBASE} ${WEBPAGE}
cd ${WEBDIR} && echo make pub
cp ${MAN1DSTDIR}/*.html ${MAN7DSTDIR}/*.html ${WEBDIR}/${WEBBASE}/man
cd ${WEBDIR} && git add ${WEBBASE}/man
cd ${WEBDIR} && git commit -m "cdist update" ${WEBBASE} ${WEBPAGE}
cd ${WEBDIR} && make pub
;;
pub)