call man-pub in dist, but not in web releases
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
c10080ec2f
commit
a3f3d2a3b3
2 changed files with 6 additions and 3 deletions
8
build
8
build
|
@ -91,6 +91,8 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
man-pub)
|
man-pub)
|
||||||
|
$0 man
|
||||||
|
|
||||||
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
|
||||||
|
@ -115,6 +117,10 @@ case "$1" in
|
||||||
# Update website (includes documentation)
|
# Update website (includes documentation)
|
||||||
$0 web
|
$0 web
|
||||||
|
|
||||||
|
# Update manpages on website
|
||||||
|
$0 man-pub
|
||||||
|
|
||||||
|
# update git repos
|
||||||
$0 pub
|
$0 pub
|
||||||
|
|
||||||
$0 dist-blog
|
$0 dist-blog
|
||||||
|
@ -326,8 +332,6 @@ eof
|
||||||
set -e
|
set -e
|
||||||
rsync -av "${basedir}/docs/web/" "${WEBTOPDIR}"
|
rsync -av "${basedir}/docs/web/" "${WEBTOPDIR}"
|
||||||
|
|
||||||
$0 man-pub
|
|
||||||
|
|
||||||
cd "${WEBDIR}" && git add "${WEBBASE}"
|
cd "${WEBDIR}" && git add "${WEBBASE}"
|
||||||
cd "${WEBDIR}" && git commit -m "cdist update" "${WEBBASE}" "${WEBPAGE}"
|
cd "${WEBDIR}" && git commit -m "cdist update" "${WEBBASE}" "${WEBPAGE}"
|
||||||
cd "${WEBDIR}" && make pub
|
cd "${WEBDIR}" && make pub
|
||||||
|
|
|
@ -40,7 +40,6 @@ To upgrade to the lastet version do
|
||||||
* The types **\_\_autofs**, **\_\_autofs_map** and **\_\_autofs_reload** have been removed
|
* The types **\_\_autofs**, **\_\_autofs_map** and **\_\_autofs_reload** have been removed
|
||||||
(no maintainer, no users)
|
(no maintainer, no users)
|
||||||
|
|
||||||
|
|
||||||
### Updating from 1.7 to 2.0
|
### Updating from 1.7 to 2.0
|
||||||
|
|
||||||
* Ensure python (>= 3.2) is installed on the source host
|
* Ensure python (>= 3.2) is installed on the source host
|
||||||
|
|
Loading…
Reference in a new issue