aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-30 00:21:39 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-09-30 00:21:39 +0000
commitfbca680c073826912ad81330b8cbea3f0ce4eba2 (patch)
tree5c1b555a1230cf0242d4e3843c946673762dc1be /Makefile
parent892101a84e910e1437db396269016ef1a191f38d (diff)
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.
Notes
svn path=/www/; revision=8047
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 7771ae0ef5..26eefda856 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $FreeBSD: www/Makefile,v 1.12 2000/02/28 12:41:23 phantom Exp $
+# $FreeBSD: www/Makefile,v 1.13 2000/02/28 13:15:53 phantom Exp $
LINKS= en/ja en/es en/ru en/zh
LINKS+= ja/web.mk es/web.mk ru/web.mk
@@ -11,6 +11,10 @@ LINKS+= ../doc/en_US.ISO_8859-1/includes.sgml
SUBDIR= en
+.if make(obj)
+SUBDIR+= ja es ru zh
+.endif
+
all: links
@@ -21,35 +25,36 @@ clean:
en/ja:
- cd en; ln -sf ../ja
+ cd en; ln -sf ${.CURDIR}/ja
en/es:
- cd en; ln -sf ../es
+ cd en; ln -sf ${.CURDIR}/es
en/ru:
- cd en; ln -sf ../ru
+ cd en; ln -sf ${.CURDIR}/ru
en/zh:
- cd en; ln -sf ../zh
+ cd en; ln -sf ${.CURDIR}/zh
ja/web.mk:
- cd ja; ln -sf ../en/web.mk
+ cd ja; ln -sf ${.CURDIR}/en/web.mk
es/web.mk:
- cd es; ln -sf ../en/web.mk
+ cd es; ln -sf ${.CURDIR}/en/web.mk
ru/web.mk:
- cd ru; ln -sf ../en/web.mk
+ cd ru; ln -sf ${.CURDIR}/en/web.mk
web.mk:
- cd .; ln -sf en/web.mk
+ cd .; ln -sf ${.CURDIR}/en/web.mk
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
../doc/en_US.ISO_8859-1/web.mk:
- cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/web.mk
+ cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/web.mk
../doc/en_US.ISO_8859-1/includes.sgml:
- cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/includes.sgml
+ cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/includes.sgml
.endif
+.include <bsd.obj.mk>
.include <bsd.subdir.mk>