aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-01-22 18:32:32 +0800
committerasami <asami@FreeBSD.org>1999-01-22 18:32:32 +0800
commit3c2f9cd0e8c00baa674ad8049ed27a55dd6bef3e (patch)
treeb8b0f928ff602a9da58741724f8a4fd7a93605c3 /Makefile
parentda7375966318db51990517d2a3a736513555a955 (diff)
downloadfreebsd-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}.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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")}'