diff --git a/release/Makefile b/release/Makefile index c8448122720..3e3f6102d45 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