summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-31 17:40:41 +0000
committerjlam <jlam@pkgsrc.org>2004-08-31 17:40:41 +0000
commiteecdcc3e52f57e759412e226a890725ec14d4540 (patch)
treea73198edc19712910c2ce2549fbde9f6c7d52118 /pkgtools
parentf96199ba3be7ba863d808125b45bd353f5201453 (diff)
downloadpkgsrc-eecdcc3e52f57e759412e226a890725ec14d4540.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')
-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