pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files Don't use .PHONY, which isn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb0f5d3ebb16
branches:  trunk
changeset: 480168:cb0f5d3ebb16
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Aug 31 17:40:41 2004 +0000

description:
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:

 pkgtools/pkg_install/files/Makefile.in |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r cd60ba9f1363 -r cb0f5d3ebb16 pkgtools/pkg_install/files/Makefile.in
--- a/pkgtools/pkg_install/files/Makefile.in    Tue Aug 31 16:06:59 2004 +0000
+++ b/pkgtools/pkg_install/files/Makefile.in    Tue Aug 31 17:40:41 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index