diff --git a/data/ports/Makefile b/data/ports/Makefile index 23ad0f6833..317dfd6e68 100644 --- a/data/ports/Makefile +++ b/data/ports/Makefile @@ -1,27 +1,28 @@ -# $Id: Makefile,v 1.9 1998-06-10 15:52:30 wosch Exp $ +# $Id: Makefile,v 1.10 1998-07-16 17:03:54 wosch Exp $ PORTINDEX= perl ./portindex -INDEX= ports/INDEX +INDEX= INDEX +PINDEX= ports/${INDEX} COOKIE= ${INDEX} Makefile.gen .if exists(Makefile.gen) .include "Makefile.gen" CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} packages.exists .endif -${INDEX}: - cvs -QR co ${INDEX} +${INDEX}: $${CVSROOT}/${PINDEX},v + cvs -QR co -p ${PINDEX} > ${INDEX} packages.exists: ./packages > ${.TARGET} Makefile.gen: index.sgml .NOTMAIN echo DOCS= *.sgml > Makefile.gen ${MAKE} ${MAKEFLAGS} ${.IMPSRC} index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN rm -f *.sgml ${PORTINDEX} ${INDEX} .include "../web.mk" diff --git a/en/ports/Makefile b/en/ports/Makefile index 23ad0f6833..317dfd6e68 100644 --- a/en/ports/Makefile +++ b/en/ports/Makefile @@ -1,27 +1,28 @@ -# $Id: Makefile,v 1.9 1998-06-10 15:52:30 wosch Exp $ +# $Id: Makefile,v 1.10 1998-07-16 17:03:54 wosch Exp $ PORTINDEX= perl ./portindex -INDEX= ports/INDEX +INDEX= INDEX +PINDEX= ports/${INDEX} COOKIE= ${INDEX} Makefile.gen .if exists(Makefile.gen) .include "Makefile.gen" CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} packages.exists .endif -${INDEX}: - cvs -QR co ${INDEX} +${INDEX}: $${CVSROOT}/${PINDEX},v + cvs -QR co -p ${PINDEX} > ${INDEX} packages.exists: ./packages > ${.TARGET} Makefile.gen: index.sgml .NOTMAIN echo DOCS= *.sgml > Makefile.gen ${MAKE} ${MAKEFLAGS} ${.IMPSRC} index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN rm -f *.sgml ${PORTINDEX} ${INDEX} .include "../web.mk"