From a3f3d2a3b35698df66a123cf0c034c0c2c454810 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 15 Nov 2012 14:54:15 +0100 Subject: [PATCH] call man-pub in dist, but not in web releases Signed-off-by: Nico Schottelius --- build | 8 ++++++-- docs/web/cdist/update.mdwn | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build b/build index f1e0bf8e..b19be55a 100755 --- a/build +++ b/build @@ -91,6 +91,8 @@ case "$1" in ;; man-pub) + $0 man + rm -rf "${WEBMAN}" mkdir -p "${WEBMAN}/man1" "${WEBMAN}/man7" cp ${MAN1DSTDIR}/*.html ${MAN1DSTDIR}/*.css ${WEBMAN}/man1 @@ -115,6 +117,10 @@ case "$1" in # Update website (includes documentation) $0 web + # Update manpages on website + $0 man-pub + + # update git repos $0 pub $0 dist-blog @@ -326,8 +332,6 @@ eof set -e rsync -av "${basedir}/docs/web/" "${WEBTOPDIR}" - $0 man-pub - cd "${WEBDIR}" && git add "${WEBBASE}" cd "${WEBDIR}" && git commit -m "cdist update" "${WEBBASE}" "${WEBPAGE}" cd "${WEBDIR}" && make pub diff --git a/docs/web/cdist/update.mdwn b/docs/web/cdist/update.mdwn index 7fac8444..c62acc8f 100644 --- a/docs/web/cdist/update.mdwn +++ b/docs/web/cdist/update.mdwn @@ -40,7 +40,6 @@ To upgrade to the lastet version do * The types **\_\_autofs**, **\_\_autofs_map** and **\_\_autofs_reload** have been removed (no maintainer, no users) - ### Updating from 1.7 to 2.0 * Ensure python (>= 3.2) is installed on the source host