pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mk-files Wrote ${.ALLSRC} instead of $> to make ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a763ad47bcd
branches:  trunk
changeset: 537284:9a763ad47bcd
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 05 21:48:53 2008 +0000

description:
Wrote ${.ALLSRC} instead of $> to make the file more readable for those
who don't see this variable daily. This also prevents a pkglint internal
error.

diffstat:

 devel/mk-files/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 86db58b9af15 -r 9a763ad47bcd devel/mk-files/Makefile
--- a/devel/mk-files/Makefile   Sat Jan 05 21:37:45 2008 +0000
+++ b/devel/mk-files/Makefile   Sat Jan 05 21:48:53 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/02/22 19:26:22 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2008/01/05 21:48:53 rillig Exp $
 #
 
 DISTNAME=      mk-20050405
@@ -37,9 +37,9 @@
 # same goes for the bsd.*.mk files (it makes the symlinks to *.mk)
 ${WRKSRC}/FILES:       extract
 ${WRKDIR}/.PLIST_SRC:  ${WRKSRC}/FILES
-       @( ${GREP} '^[A-Za-z].*\.mk' $> ; \
+       @( ${GREP} '^[A-Za-z].*\.mk' ${.ALLSRC} ; \
        [ -f /usr/share/mk/sys.mk ] || ${ECHO} sys.mk; \
        [ -f /usr/share/mk/bsd.prog.mk ] || \
        for f in dep doc init lib man nls obj own prog subdir; do \
                ${ECHO} bsd.$$f.mk; \
-       done ) | ${SED} 's,^,share/mk/,' > $@
+       done ) | ${SED} 's,^,share/mk/,' > ${.TARGET}



Home | Main Index | Thread Index | Old Index