summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-22 11:20:07 +0000
committerjkh <jkh@FreeBSD.org>1994-08-22 11:20:07 +0000
commitb94be1089d56b106e5e0b20fb0aeccdbe142b009 (patch)
tree8d2bb6a4ade7d03aac750fbe988e572305dcfaae /share/mk/bsd.port.subdir.mk
parent522661cfaf65fe99152833567354b02885d8806e (diff)
downloadFreeBSD-src-b94be1089d56b106e5e0b20fb0aeccdbe142b009.zip
FreeBSD-src-b94be1089d56b106e5e0b20fb0aeccdbe142b009.tar.gz
New bsd.port.subdir.mk file for use by ports. This groks all the
special ports building targets and will recurse properly. Sorry, Julian E - no fancy prompts, just recursion! :-) Added a `bundle' target. Purpose is as follows: You want to give someone a complete tree sans distfiles (for sticking on CDROM perhaps?) but the difficulty there is that the first time the user types `make clean', all the unpacked sources are gone again. Typing `make bundle' recreates the original distfile if it can, so someone can "back up" their unpacked tree easily with one command. Whoops, just thought of something - it should warn if you configured the working source. Ok, next commit! :) Submitted by: jkh
Diffstat (limited to 'share/mk/bsd.port.subdir.mk')
-rw-r--r--share/mk/bsd.port.subdir.mk18
1 files changed, 5 insertions, 13 deletions
diff --git a/share/mk/bsd.port.subdir.mk b/share/mk/bsd.port.subdir.mk
index 16bba7c..752f335 100644
--- a/share/mk/bsd.port.subdir.mk
+++ b/share/mk/bsd.port.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id$
+# $Id: bsd.port.subdir.mk,v 1.1 1994/08/22 10:46:38 jkh Exp $
.MAIN: all
@@ -35,6 +35,10 @@ ${SUBDIR}::
all: _SUBDIRUSE
.endif
+.if !target(bundle)
+bundle: _SUBDIRUSE
+.endif
+
.if !target(extract)
extract: _SUBDIRUSE
.endif
@@ -55,10 +59,6 @@ clean: _SUBDIRUSE
depend: _SUBDIRUSE
.endif
-.if !target (maninstall)
-maninstall: _SUBDIRUSE
-.endif
-
.if !target(install)
.if !target(beforeinstall)
beforeinstall:
@@ -71,14 +71,6 @@ afterinstall: realinstall
realinstall: beforeinstall _SUBDIRUSE
.endif
-.if !target(lint)
-lint: _SUBDIRUSE
-.endif
-
-.if !target(obj)
-obj: _SUBDIRUSE
-.endif
-
.if !target(tags)
tags: _SUBDIRUSE
.endif
OpenPOWER on IntegriCloud