Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Add a "makedeps" target, to update the "deps" f...



details:   https://anonhg.NetBSD.org/src/rev/f9db1b5110d8
branches:  trunk
changeset: 586870:f9db1b5110d8
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Jan 04 15:11:07 2006 +0000

description:
Add a "makedeps" target, to update the "deps" file.
XXX: Why is "deps" checked in to the source tree, instead of
just being created as necessary?

Reviewed by agc

diffstat:

 distrib/sets/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 37b3b403a616 -r f9db1b5110d8 distrib/sets/Makefile
--- a/distrib/sets/Makefile     Wed Jan 04 15:08:42 2006 +0000
+++ b/distrib/sets/Makefile     Wed Jan 04 15:11:07 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.49 2006/01/04 14:58:58 apb Exp $
+#      $NetBSD: Makefile,v 1.50 2006/01/04 15:11:07 apb Exp $
 
 # The `all' target must appear before bsd.own.mk is pulled in.
 all:
@@ -191,6 +191,12 @@
 makesyspkgsums: .PHONY check_RELEASEDIR
        ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/binary/syspkgs
 
+# Update the "deps" file.
+# XXX: Why is "deps" checked in to the source tree, instead of
+# just being created as necessary?
+makedeps: .PHONY
+       ${SETSCMD} ./syspkgdeps all >${.CURDIR}/deps
+
 #
 # MAIN ENTRY POINTS
 #



Home | Main Index | Thread Index | Old Index