Fix a problem on building ports section with Makefile.gen
Pointed by: wosch
This commit is contained in:
parent
d77a3f3280
commit
b273267b08
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=6071
3 changed files with 44 additions and 18 deletions
|
@ -1,25 +1,11 @@
|
|||
# $FreeBSD$
|
||||
# $FreeBSD: www/es/ports/Makefile,v 1.6 1999/09/06 07:03:04 peter Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
|
||||
PORTINDEX= perl5 ${.CURDIR}/portindex
|
||||
INDEX= INDEX
|
||||
PINDEX= ports/${INDEX}
|
||||
Y2K= YEAR2000
|
||||
PY2K= ports/${Y2K}
|
||||
|
||||
COOKIE= ${INDEX} Makefile.gen
|
||||
|
||||
.if exists(Makefile.gen)
|
||||
.include "Makefile.gen"
|
||||
.if exists(Makefile.inc)
|
||||
.include "Makefile.inc"
|
||||
.endif
|
||||
CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} ${Y2K} packages.exists
|
||||
|
||||
cvsindex= $${CVSROOT}/${PINDEX},v
|
||||
cvsy2k= $${CVSROOT}/${PY2K},v
|
||||
_ALLINSTALL= packages.exists ${INDEX} ${Y2K}
|
||||
|
||||
.if defined(NOPORTSCVS)
|
||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||
|
@ -58,10 +44,14 @@ packages.exists: ${cvsindex} ${cvsy2k}
|
|||
|
||||
Makefile.gen: index.sgml .NOTMAIN
|
||||
echo DOCS= *.sgml > Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
|
||||
index.sgml: ${INDEX} ${Y2K} packages.exists portindex ports.inc .NOTMAIN
|
||||
rm -f *.sgml
|
||||
${PORTINDEX} ${INDEX} ${Y2K}
|
||||
|
||||
install: all
|
||||
|
||||
all install clean:
|
||||
${MAKE} ${MAKEFLAGS} -f Makefile.inc0 ${.TARGET}
|
||||
|
||||
.include "../web.mk"
|
||||
|
|
20
es/ports/Makefile.inc
Normal file
20
es/ports/Makefile.inc
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
PORTINDEX= perl5 ${.CURDIR}/portindex
|
||||
INDEX= INDEX
|
||||
PINDEX= ports/${INDEX}
|
||||
Y2K= YEAR2000
|
||||
PY2K= ports/${Y2K}
|
||||
|
||||
COOKIE= ${INDEX} Makefile.gen
|
||||
|
||||
CLEANFILES+= ${INDEX}
|
||||
CLEANFILES+= ${Y2K}
|
||||
CLEANFILES+= packages.exists.temp packages.exists
|
||||
CLEANFILES+= ${DOCS}
|
||||
CLEANFILES+= Makefile.gen
|
||||
|
||||
cvsindex= $${CVSROOT}/${PINDEX},v
|
||||
cvsy2k= $${CVSROOT}/${PY2K},v
|
||||
|
||||
_ALLINSTALL= packages.exists ${INDEX} ${Y2K}
|
||||
|
16
es/ports/Makefile.inc0
Normal file
16
es/ports/Makefile.inc0
Normal file
|
@ -0,0 +1,16 @@
|
|||
# $FreeBSD: www/en/ports/Makefile.inc0,v 1.2 1999/09/06 07:02:48 peter Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
.endif
|
||||
|
||||
.if exists(Makefile.inc)
|
||||
.include "Makefile.inc"
|
||||
.endif
|
||||
|
||||
.if exists(Makefile.gen)
|
||||
.include "Makefile.gen"
|
||||
.endif
|
||||
|
||||
|
||||
.include "../web.mk"
|
Loading…
Reference in a new issue