Browse Source

Fix docs-dist target.

4.2
Darko Poljak 6 years ago
parent
commit
e76d06b382
  1. 6
      Makefile
  2. 4
      docs/web/cdist/documentation.mdwn

6
Makefile

@ -73,15 +73,15 @@ docs: man html
# Manpages #5: release part
MANWEBDIR=$(WEBBASE)/man/$(CHANGELOG_VERSION)
MANBUILDDIR=docs/dist/html
HTMLBUILDDIR=docs/dist/html
docs-dist: man
docs-dist: html
rm -rf "${MANWEBDIR}"
mkdir -p "${MANWEBDIR}"
# mkdir -p "${MANWEBDIR}/man1" "${MANWEBDIR}/man7"
# cp ${MAN1DSTDIR}/*.html ${MAN1DSTDIR}/*.css ${MANWEBDIR}/man1
# cp ${MAN7DSTDIR}/*.html ${MAN7DSTDIR}/*.css ${MANWEBDIR}/man7
cp -R ${MANBUILDDIR}/* ${MANWEBDIR}
cp -R ${HTMLBUILDDIR}/* ${MANWEBDIR}
cd ${MANWEBDIR} && git add . && git commit -m "cdist manpages update: $(CHANGELOG_VERSION)" || true
man-latest-link: web-pub

4
docs/web/cdist/documentation.mdwn vendored

@ -1,7 +1,7 @@
[[!meta title="Documentation"]]
You can browse the latest
[latest version of the manpages](/software/cdist/man/latest) or
You can browse the
[latest version of the documentation](/software/cdist/man/latest) or
have a look at [all versions](/software/cdist/man).
You can also view [speeches about cdist](/software/cdist/speeches).

Loading…
Cancel
Save