Break "all" target into subtargets according to category. Change to
cope with new directory structure in ${buildroot}.
This commit is contained in:
parent
b568349be8
commit
075386ef4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16261
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.43 1999/01/09 08:52:08 asami Exp $
|
||||
# $Id: Makefile,v 1.44 1999/01/13 04:08:05 jkh Exp $
|
||||
#
|
||||
|
||||
SUBDIR += archivers
|
||||
|
@ -69,4 +69,7 @@ search: ${.CURDIR}/INDEX
|
|||
.endif
|
||||
|
||||
parallel: ${.CURDIR}/INDEX
|
||||
@sed -e 's/|/.tgz|/' ${.CURDIR}/INDEX | awk -F '|' '{me=$$1; here=$$2; bdep=$$8; rdep=$$9; if (bdep != "") { gsub("$$", ".tgz", bdep); gsub(" ", ".tgz ", bdep); } if (rdep != "") { gsub("$$", ".tgz", rdep); gsub(" ", ".tgz ", rdep); } print "all:: " me; print me ": " bdep " " rdep; printf("\t@/a/asami/portbuild/pdispatch /a/asami/portbuild/portbuild %s %s", me, here); if (bdep != "") printf(" %s", bdep); if (rdep != "") printf(" %s", rdep); printf("\n")}'
|
||||
.for dir in ${SUBDIR}
|
||||
@echo "all:: ${dir}-all"
|
||||
.endfor
|
||||
@sed -e 's/|/.tgz|/' ${.CURDIR}/INDEX | awk -F '|' '{me=$$1; here=$$2; bdep=$$8; rdep=$$9; split(here, tmp, "/"); if (bdep != "") { gsub("$$", ".tgz", bdep); gsub(" ", ".tgz ", bdep); } if (rdep != "") { gsub("$$", ".tgz", rdep); gsub(" ", ".tgz ", rdep); } print tmp[4] "-all:: " me; print me ": " bdep " " rdep; printf("\t@/a/asami/portbuild/scripts/pdispatch /a/asami/portbuild/scripts/portbuild %s %s", me, here); if (bdep != "") printf(" %s", bdep); if (rdep != "") printf(" %s", rdep); printf("\n")}'
|
||||
|
|
Loading…
Reference in a new issue