Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/mkdep Conditionally include the depend files.



details:   https://anonhg.NetBSD.org/src/rev/83df57a15fb9
branches:  trunk
changeset: 785243:83df57a15fb9
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 05 21:57:47 2013 +0000

description:
Conditionally include the depend files.

diffstat:

 usr.bin/mkdep/mkdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f1be1d4cba55 -r 83df57a15fb9 usr.bin/mkdep/mkdep.c
--- a/usr.bin/mkdep/mkdep.c     Tue Mar 05 21:16:24 2013 +0000
+++ b/usr.bin/mkdep/mkdep.c     Tue Mar 05 21:57:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkdep.c,v 1.42 2013/03/05 01:59:56 christos Exp $ */
+/* $NetBSD: mkdep.c,v 1.43 2013/03/05 21:57:47 christos Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 #if !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1999 The NetBSD Foundation, Inc.\
  All rights reserved.");
-__RCSID("$NetBSD: mkdep.c,v 1.42 2013/03/05 01:59:56 christos Exp $");
+__RCSID("$NetBSD: mkdep.c,v 1.43 2013/03/05 21:57:47 christos Exp $");
 #endif /* not lint */
 
 #include <sys/mman.h>
@@ -328,7 +328,7 @@
                        } else
                                fname = *argv++;
                        if (iflag) {
-                               if (dprintf(dependfile, ".include \"%s\"\n",
+                               if (dprintf(dependfile, ".-include \"%s\"\n",
                                    fname) < 0)
                                        goto wrerror;
                                continue;



Home | Main Index | Thread Index | Old Index