pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Change the way INDEX is used by dropping the dependenc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b83137b48cb3
branches: trunk
changeset: 522908:b83137b48cb3
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Dec 29 19:02:25 2006 +0000
description:
Change the way INDEX is used by dropping the dependency on PKGDB in
INDEX and calling it directly. As the output is removed anyway, it
forced a full rescan on every "make search". Calling "make index" still
regenerates it all the time, but the other targets don't.
OK wiz@
PRs: 26442, 34207, 35266
diffstat:
Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 4204c6f91e78 -r b83137b48cb3 Makefile
--- a/Makefile Fri Dec 29 15:11:20 2006 +0000
+++ b/Makefile Fri Dec 29 19:02:25 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2006/07/02 12:29:22 rillig Exp $
+# $NetBSD: Makefile,v 1.78 2006/12/29 19:02:25 joerg Exp $
#
# tools used by this Makefile
@@ -138,9 +138,12 @@
done
.PHONY: index
-index: ${.CURDIR}/INDEX
+index:
+ @${RM} ${.CURDIR}/INDEX
+ @${MAKE} ${.CURDIR}/INDEX
-${.CURDIR}/INDEX: ${.CURDIR}/PKGDB
+${.CURDIR}/INDEX:
+ @${MAKE} ${.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/INDEX
@${AWK} -f ./mk/scripts/genindex.awk PKGSRCDIR=${.CURDIR} SORT=${SORT} ${.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/PKGDB
Home |
Main Index |
Thread Index |
Old Index