diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 11:20:07 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-22 11:20:07 +0000 |
commit | 3556b480dff4bdc71c188b9e2de8f768d418458d (patch) | |
tree | 65de86c9aa02e4f9063b1e27fe7863f1258545a6 /Mk/bsd.port.subdir.mk | |
parent | I had to bite the bullet: There's now a port.subdir.mk that does the right (diff) |
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
Notes
Notes:
svn path=/head/; revision=19
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r-- | Mk/bsd.port.subdir.mk | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index 16bba7c802b8..752f3350d97a 100644 --- a/Mk/bsd.port.subdir.mk +++ b/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 |