summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
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
commit47050ec4fd2da6be74aff2aad744dc5470b831d8 (patch)
treea73198edc19712910c2ce2549fbde9f6c7d52118 /pkgtools/pkg_install
parent9f37ac6fe0b4586a146e3354593e0505f74963be (diff)
downloadpkgsrc-47050ec4fd2da6be74aff2aad744dc5470b831d8.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