From 075386ef4f0a1222df94ea27d3567bccc2fe6e52 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Fri, 22 Jan 1999 10:32:32 +0000 Subject: Break "all" target into subtargets according to category. Change to cope with new directory structure in ${buildroot}. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 12604a3e548f..91e8d8c55f5a 100644 --- a/Makefile +++ b/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")}' -- cgit v1.2.3