From e9f4b69295e1fb2e2eefc78cf3b7855ee8314810 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sat, 9 Jul 2011 23:01:54 +0000 Subject: Per request of the docs team, install docs as packages, instead of via the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and for putting up with me taking entirely too long to commit this! Submitted by: blackend --- release/Makefile | 7 +------ release/generate-release.sh | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'release') diff --git a/release/Makefile b/release/Makefile index f8a52d6..0e07ed3 100644 --- a/release/Makefile +++ b/release/Makefile @@ -68,12 +68,7 @@ base.txz: # Set up mergemaster root database sh ${.CURDIR}/scripts/mm-mtree.sh -F \ "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${DISTDIR}/base" -# Merge handbook, etc. from doc tree into src tree doc distribution -.if !defined(NODOC) - cd ${DOCDIR} && ${IMAKE} all install \ - DOCDIR=${DISTDIR}/doc/usr/share/doc 'FORMATS=html html-split txt' \ - INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES -.endif +# Package all components cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${DISTDIR} mv ${DISTDIR}/*.txz ${.OBJDIR} diff --git a/release/generate-release.sh b/release/generate-release.sh index 080512a..cdba026 100755 --- a/release/generate-release.sh +++ b/release/generate-release.sh @@ -57,9 +57,8 @@ fi if [ -d $2/usr/doc ]; then cp /etc/resolv.conf $2/etc/resolv.conf - # Build ports to build the docs, then build the docs + # Build ports to build release documentation chroot $2 /bin/sh -c 'pkg_add -r docproj || (cd /usr/ports/textproc/docproj && make install clean BATCH=yes WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes)' - chroot $2 make -C /usr/doc $MAKE_FLAGS 'FORMATS=html html-split txt' URLS_ABSOLUTE=YES fi chroot $2 make -C /usr/src $MAKE_FLAGS buildworld buildkernel -- cgit v1.1