diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-22 19:20:07 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-22 19:20:07 +0800 |
commit | d25f75ad09079869f188edcea5b6949600c3b32d (patch) | |
tree | 7c88aca776390bfa17558b623e86fca8873598c4 /Mk/bsd.port.subdir.mk | |
parent | ca7675fd0fdb4a1e2dd9f027bb8a83501eaa635c (diff) | |
download | freebsd-ports-gnome-d25f75ad09079869f188edcea5b6949600c3b32d.tar.gz freebsd-ports-gnome-d25f75ad09079869f188edcea5b6949600c3b32d.tar.zst freebsd-ports-gnome-d25f75ad09079869f188edcea5b6949600c3b32d.zip |
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 '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 |