diff options
author | jhb <jhb@FreeBSD.org> | 2000-05-08 22:21:17 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-05-08 22:21:17 +0000 |
commit | 19ea12d3ec4743789e92af14f171c2e0265dcde1 (patch) | |
tree | 27704a38e5ebcb46d0ce5e78be06198c479235ae | |
parent | 75b1eefecc94b402be0774ec186254c529475be7 (diff) | |
download | FreeBSD-src-19ea12d3ec4743789e92af14f171c2e0265dcde1.zip FreeBSD-src-19ea12d3ec4743789e92af14f171c2e0265dcde1.tar.gz |
Add a DOCDISTFILES variable to point to a directory containing the
distfiles to build the docproj port during release. Prior to this, the
distfiles were copied froom ${DISTFILES}. However, if like me, you needed
to store the distfiles in some directory other than /usr/ports/distfiles,
for example /usr/docdistfiles, then when you overrode ${DISTFILES} it broke
the release build when it tried to build docproj port in the chroot'd
release area. To preserve backwards compatibility, DOCDISTFILES defaults
to the value of DISTFILES.
Ok'd by: jkh
-rw-r--r-- | release/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile index c844812..3e3f610 100644 --- a/release/Makefile +++ b/release/Makefile @@ -56,8 +56,9 @@ OBJFORMAT?= elf # in English only. ALLLANG= yes DOCPORTS= textproc/docproj -# Set this to wherever the distfiles required by ${DOCPORTS} live. DISTFILES?= ${.CURDIR}/../../ports/distfiles +# Set this to wherever the distfiles required by ${DOCPORTS} live. +DOCDISTFILES?= ${DISTFILES} DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \ RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT INSTALL.TXT @@ -198,8 +199,8 @@ rerelease release: .else cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE} .endif - if [ -d ${DISTFILES}/ ]; then \ - cp -rp ${DISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \ + if [ -d ${DOCDISTFILES}/ ]; then \ + cp -rp ${DOCDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \ fi .endif .endif |