summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-12-28 12:35:10 +0000
committerasami <asami@FreeBSD.org>1998-12-28 12:35:10 +0000
commitf3cacdcabb8831b2a7ad98e80ec1bb12e810b826 (patch)
tree913c6f7c8fb75e74f1f9df8d0339b6b6ff125746 /Makefile
parentc1d8bc3171a71374dc55043e9a21b8951b5c1576 (diff)
downloadFreeBSD-ports-f3cacdcabb8831b2a7ad98e80ec1bb12e810b826.zip
FreeBSD-ports-f3cacdcabb8831b2a7ad98e80ec1bb12e810b826.tar.gz
Add new target "parallel" which creates a parallelizable Makefile for
building all packages. This is to be used in conjunction with the scripts under the "Tools" directory. Note this version has hardcoded paths and other general badness -- those will be fixed later.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c37523..ff55921 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.39 1998/10/30 23:38:26 jkh Exp $
+# $Id: Makefile,v 1.40 1998/12/12 07:41:46 asami Exp $
#
SUBDIR += archivers
@@ -67,3 +67,6 @@ search: ${.CURDIR}/INDEX
.else
@grep -i "${key}|" ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'
.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")}'
OpenPOWER on IntegriCloud