summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2004-01-08 07:01:06 +0000
committerlukem <lukem@NetBSD.org>2004-01-08 07:01:06 +0000
commit04be9e71df033b02be809d7801f7d6dfbd0baade (patch)
treebcdda3b2f6b02ba89bc3d89ebb4e07694893a145
parent71ee6e8beaeae987f5e720a0e40bca8ecd3db6d8 (diff)
Implement do-x11, to run "make build" in ./x11/
If MKX11 != no, add "do-x11" to BUILDTARGETS. Say ``hello'' to Imakeicide.
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 32acc706920..47682c3387e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.226 2004/01/06 07:25:40 lukem Exp $
+# $NetBSD: Makefile,v 1.227 2004/01/08 07:01:06 lukem Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -76,6 +76,7 @@
# do-gnu-lib: builds and installs prerequisites from gnu/lib.
# do-ld.so: builds and installs prerequisites from libexec/ld.*_so.
# do-build: builds and installs the entire system.
+# do-x11: builds and installs X11R6 from src/x11 if ${MKX11} != "no"
# do-obsolete: installs the obsolete sets (for the postinstall-* targets).
#
@@ -194,6 +195,9 @@ BUILDTARGETS+= do-lib-libdes
BUILDTARGETS+= do-lib do-gnu-lib
BUILDTARGETS+= do-ld.so
BUILDTARGETS+= do-build
+.if ${MKX11} != "no"
+BUILDTARGETS+= do-x11
+.endif
BUILDTARGETS+= do-obsolete
#
@@ -345,6 +349,9 @@ do-build:
(cd ${.CURDIR} && ${MAKE} ${targ} BUILD_tools=no BUILD_lib=no)
.endfor
+do-x11:
+ (cd ${.CURDIR}/x11 && ${MAKE} build)
+
do-obsolete:
(cd ${.CURDIR}/etc && ${MAKE} install-obsolete-lists)