summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-31 17:40:41 +0000
committerjlam <jlam>2004-08-31 17:40:41 +0000
commit152c29a046d8c7b174da57fb6b1c0ebc1070347b (patch)
treea73198edc19712910c2ce2549fbde9f6c7d52118 /pkgtools/pkg_install
parent6213625d03c2a6a08c61dfaa01beb0bf126d16be (diff)
downloadpkgsrc-152c29a046d8c7b174da57fb6b1c0ebc1070347b.tar.gz
Don't use .PHONY, which isn't understood by every make. Split out the
"all" target as the first one so that a bare "make" will build the "all" target by default. This should fix problems seen on AIX 5.1.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/Makefile.in b/pkgtools/pkg_install/files/Makefile.in
index deaa389e946..76d65266f0c 100644
--- a/pkgtools/pkg_install/files/Makefile.in
+++ b/pkgtools/pkg_install/files/Makefile.in
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile.in,v 1.5 2003/09/23 06:05:13 grant Exp $
+# $NetBSD: Makefile.in,v 1.6 2004/08/31 17:40:41 jlam Exp $
SUBDIRS= lib add admin create delete info view
-.PHONY: all install clean distclean
+all:
+ @for dir in $(SUBDIRS); do \
+ ( cd $$dir && $(MAKE) $@ ) || exit 1; \
+ done
-all install clean:
+install clean:
@for dir in $(SUBDIRS); do \
( cd $$dir && $(MAKE) $@ ) || exit 1; \
done