Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/config Emit `.MAIN: all' to force the target `all' ...



details:   https://anonhg.NetBSD.org/src/rev/7c68438ea191
branches:  trunk
changeset: 481512:7c68438ea191
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Feb 01 05:13:17 2000 +0000

description:
Emit `.MAIN: all' to force the target `all' as default target.

diffstat:

 usr.sbin/config/mkmakefile.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 40d1f8c53e73 -r 7c68438ea191 usr.sbin/config/mkmakefile.c
--- a/usr.sbin/config/mkmakefile.c      Tue Feb 01 05:02:31 2000 +0000
+++ b/usr.sbin/config/mkmakefile.c      Tue Feb 01 05:13:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkmakefile.c,v 1.43 2000/01/20 00:08:08 thorpej Exp $  */
+/*     $NetBSD: mkmakefile.c,v 1.44 2000/02/01 05:13:17 enami Exp $    */
 
 /*
  * Copyright (c) 1992, 1993
@@ -447,7 +447,7 @@
        struct config *cf;
        const char *nm, *swname;
 
-       if (fputs("all:", fp) < 0)
+       if (fputs(".MAIN: all\nall:", fp) < 0)
                return (1);
        for (cf = allcf; cf != NULL; cf = cf->cf_next) {
                if (fprintf(fp, " %s", cf->cf_name) < 0)



Home | Main Index | Thread Index | Old Index