forked from ungleich-public/cdist
also git add & commit the manpages
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
018ba02111
commit
8457e6cfd1
1 changed files with 3 additions and 0 deletions
3
build
3
build
|
@ -93,10 +93,13 @@ case "$1" in
|
||||||
man-pub)
|
man-pub)
|
||||||
$0 man
|
$0 man
|
||||||
|
|
||||||
|
version=$($0 changelog-version)
|
||||||
|
|
||||||
rm -rf "${WEBMAN}"
|
rm -rf "${WEBMAN}"
|
||||||
mkdir -p "${WEBMAN}/man1" "${WEBMAN}/man7"
|
mkdir -p "${WEBMAN}/man1" "${WEBMAN}/man7"
|
||||||
cp ${MAN1DSTDIR}/*.html ${MAN1DSTDIR}/*.css ${WEBMAN}/man1
|
cp ${MAN1DSTDIR}/*.html ${MAN1DSTDIR}/*.css ${WEBMAN}/man1
|
||||||
cp ${MAN7DSTDIR}/*.html ${MAN7DSTDIR}/*.css ${WEBMAN}/man7
|
cp ${MAN7DSTDIR}/*.html ${MAN7DSTDIR}/*.css ${WEBMAN}/man7
|
||||||
|
cd ${WEBMAN} && git add . && git commit -m "Cdist Manpage update: $version"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dist)
|
dist)
|
||||||
|
|
Loading…
Reference in a new issue