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:
Neil Blakey-Milner 2000-09-30 00:21:39 +00:00
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

View file

@ -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"