Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Let makefiles decide if depend file gets a meta...



details:   https://anonhg.NetBSD.org/src/rev/974064701128
branches:  trunk
changeset: 813932:974064701128
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Feb 27 00:13:21 2016 +0000

description:
Let makefiles decide if depend file gets a meta file

diffstat:

 usr.bin/make/meta.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r a457b3fb9277 -r 974064701128 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Sat Feb 27 00:09:44 2016 +0000
+++ b/usr.bin/make/meta.c       Sat Feb 27 00:13:21 2016 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.47 2016/02/18 20:33:40 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.48 2016/02/27 00:13:21 sjg Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -6,7 +6,7 @@
  * --sjg
  */
 /*
- * Copyright (c) 2009-2010, Juniper Networks, Inc.
+ * Copyright (c) 2009-2016, Juniper Networks, Inc.
  * Portions Copyright (c) 2009, John Birrell.
  * 
  * Redistribution and use in source and binary forms, with or without
@@ -472,9 +472,6 @@
 
     fflush(stdout);
 
-    if (strcmp(cp, makeDependfile) == 0)
-       goto out;
-
     if (!writeMeta)
        /* Don't create meta data. */
        goto out;



Home | Main Index | Thread Index | Old Index