diff options
author | asami <asami@FreeBSD.org> | 1999-01-22 18:32:32 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-01-22 18:32:32 +0800 |
commit | 3c2f9cd0e8c00baa674ad8049ed27a55dd6bef3e (patch) | |
tree | b8b0f928ff602a9da58741724f8a4fd7a93605c3 | |
parent | da7375966318db51990517d2a3a736513555a955 (diff) | |
download | freebsd-ports-gnome-3c2f9cd0e8c00baa674ad8049ed27a55dd6bef3e.tar.gz freebsd-ports-gnome-3c2f9cd0e8c00baa674ad8049ed27a55dd6bef3e.tar.zst freebsd-ports-gnome-3c2f9cd0e8c00baa674ad8049ed27a55dd6bef3e.zip |
Break "all" target into subtargets according to category. Change to
cope with new directory structure in ${buildroot}.
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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")}' |