Make it so ports/INDEX is updated from cvs before generating
the ports pages.
This commit is contained in:
parent
14042ad77a
commit
a2bbea0b60
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=545
5 changed files with 30 additions and 24 deletions
|
@ -1,21 +1,24 @@
|
|||
# $Id: Makefile,v 1.2 1996-09-24 18:56:21 jfieber Exp $
|
||||
|
||||
PORTINDEX= ./portindex
|
||||
INDEX= ports/INDEX
|
||||
|
||||
COOKIE= index Makefile.gen
|
||||
|
||||
.if exists(Makefile.gen)
|
||||
.include "Makefile.gen"
|
||||
CLEANFILES+= ${DOCS} Makefile.gen
|
||||
COOKIE= Makefile.gen
|
||||
.include "../web.mk"
|
||||
.else
|
||||
foo .DEFAULT:
|
||||
${MAKE} ${MAKEFLAGS} Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
.endif
|
||||
|
||||
Makefile.gen: index.sgml .NOTMAIN
|
||||
if [ -f Makefile.gen ]; then mv Makefile.gen Makefile.gen.bak; fi
|
||||
echo DOCS= *.sgml > Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
|
||||
index.sgml: ports/INDEX .NOTMAIN
|
||||
index.sgml: ${INDEX} .NOTMAIN
|
||||
rm -f *.sgml
|
||||
${PORTINDEX} ports/INDEX
|
||||
${PORTINDEX} ${INDEX}
|
||||
|
||||
index: .NOTMAIN
|
||||
cvs co ${INDEX}
|
||||
|
||||
.include "../web.mk"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $Id: web.mk,v 1.1.1.1 1996-09-24 17:45:45 jfieber Exp $
|
||||
# $Id: web.mk,v 1.2 1996-09-24 18:56:00 jfieber Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -119,7 +119,7 @@ ORPHANS:= ${ORPHANS:N*.m4}
|
|||
#
|
||||
# Build most everything
|
||||
#
|
||||
all: orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
all: ${COOKIE} orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
|
||||
#
|
||||
# Warn about anything in DOCS that has no translation
|
||||
|
|
|
@ -1,21 +1,24 @@
|
|||
# $Id: Makefile,v 1.2 1996-09-24 18:56:21 jfieber Exp $
|
||||
|
||||
PORTINDEX= ./portindex
|
||||
INDEX= ports/INDEX
|
||||
|
||||
COOKIE= index Makefile.gen
|
||||
|
||||
.if exists(Makefile.gen)
|
||||
.include "Makefile.gen"
|
||||
CLEANFILES+= ${DOCS} Makefile.gen
|
||||
COOKIE= Makefile.gen
|
||||
.include "../web.mk"
|
||||
.else
|
||||
foo .DEFAULT:
|
||||
${MAKE} ${MAKEFLAGS} Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
.endif
|
||||
|
||||
Makefile.gen: index.sgml .NOTMAIN
|
||||
if [ -f Makefile.gen ]; then mv Makefile.gen Makefile.gen.bak; fi
|
||||
echo DOCS= *.sgml > Makefile.gen
|
||||
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
|
||||
|
||||
index.sgml: ports/INDEX .NOTMAIN
|
||||
index.sgml: ${INDEX} .NOTMAIN
|
||||
rm -f *.sgml
|
||||
${PORTINDEX} ports/INDEX
|
||||
${PORTINDEX} ${INDEX}
|
||||
|
||||
index: .NOTMAIN
|
||||
cvs co ${INDEX}
|
||||
|
||||
.include "../web.mk"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $Id: web.mk,v 1.1.1.1 1996-09-24 17:45:45 jfieber Exp $
|
||||
# $Id: web.mk,v 1.2 1996-09-24 18:56:00 jfieber Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -119,7 +119,7 @@ ORPHANS:= ${ORPHANS:N*.m4}
|
|||
#
|
||||
# Build most everything
|
||||
#
|
||||
all: orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
all: ${COOKIE} orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
|
||||
#
|
||||
# Warn about anything in DOCS that has no translation
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $Id: web.site.mk,v 1.1.1.1 1996-09-24 17:45:45 jfieber Exp $
|
||||
# $Id: web.site.mk,v 1.2 1996-09-24 18:56:00 jfieber Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -119,7 +119,7 @@ ORPHANS:= ${ORPHANS:N*.m4}
|
|||
#
|
||||
# Build most everything
|
||||
#
|
||||
all: orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
all: ${COOKIE} orphans cvsdirs ${GENDOCS} ${DATA} ${LOCAL} ${CGI} _PROGSUBDIR
|
||||
|
||||
#
|
||||
# Warn about anything in DOCS that has no translation
|
||||
|
|
Loading…
Reference in a new issue