forked from ungleich-public/cdist
create subdirs man1 and man7 on the web
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
159ace1ea2
commit
fece6ddd6a
1 changed files with 6 additions and 2 deletions
8
build.sh
8
build.sh
|
@ -96,10 +96,14 @@ case "$1" in
|
||||||
|
|
||||||
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/man1
|
||||||
|
mkdir ${WEBDIR}/${WEBBASE}/man/man7
|
||||||
|
|
||||||
rm -rf ${WEBDIR}/${WEBBASE}/speeches && mkdir ${WEBDIR}/${WEBBASE}/speeches
|
rm -rf ${WEBDIR}/${WEBBASE}/speeches && mkdir ${WEBDIR}/${WEBBASE}/speeches
|
||||||
|
|
||||||
cp ${MAN1DSTDIR}/*.html ${MAN7DSTDIR}/*.html ${WEBDIR}/${WEBBASE}/man
|
cp ${MAN1DSTDIR}/*.html ${WEBDIR}/${WEBBASE}/man/man1
|
||||||
|
cp ${MAN7DSTDIR}/*.html ${WEBDIR}/${WEBBASE}/man/man7
|
||||||
cp ${SPEECHESDIR}/*.pdf ${WEBDIR}/${WEBBASE}/speeches
|
cp ${SPEECHESDIR}/*.pdf ${WEBDIR}/${WEBBASE}/speeches
|
||||||
|
|
||||||
git describe > ${WEBDIR}/${WEBBASE}/man/VERSION
|
git describe > ${WEBDIR}/${WEBBASE}/man/VERSION
|
||||||
|
|
Loading…
Reference in a new issue