First (and very minor) changes on the way to make the www build
obj-clean.
This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.
Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.
Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.
Add -D ${.CURDIR} to sgmlformat to follow includes properly.
This commit is contained in:
parent
892101a84e
commit
fbca680c07
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8047
12 changed files with 68 additions and 60 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/search/Makefile,v 1.5 1999/09/06 07:02:57 peter Exp $
|
||||
# $FreeBSD: www/en/search/Makefile,v 1.6 2000/04/20 16:41:32 phantom Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
|
@ -13,12 +13,12 @@ INDEXLINK= search.html
|
|||
CLEANFILES+=atoz.sgml site.sgml
|
||||
|
||||
|
||||
index-site.sgml: atoz.sgml site.sgml
|
||||
index-site.html: atoz.sgml site.sgml
|
||||
atoz.sgml: web.atoz
|
||||
sort -fu web.atoz | ${PERL} atoz.pl > ${.TARGET}
|
||||
sort -fu ${.ALLSRC} | ${PERL} ${.CURDIR}/atoz.pl > ${.TARGET}
|
||||
|
||||
site.sgml: site.map
|
||||
${PERL} site.pl < ${.ALLSRC} > ${.TARGET}
|
||||
${PERL} ${.CURDIR}/site.pl < ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
.include "../web.mk"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue