Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): document progname



details:   https://anonhg.NetBSD.org/src/rev/c92a086dcd15
branches:  trunk
changeset: 956724:c92a086dcd15
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Nov 06 20:24:08 2020 +0000

description:
make(1): document progname

diffstat:

 usr.bin/make/make.h |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r c4d71cd96ddc -r c92a086dcd15 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Fri Nov 06 20:20:00 2020 +0000
+++ b/usr.bin/make/make.h       Fri Nov 06 20:24:08 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.190 2020/11/06 20:20:00 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.191 2020/11/06 20:24:08 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -463,9 +463,12 @@
 /* The default for sysIncPath. */
 extern SearchPath *defSysIncPath;
 
-extern char curdir[];          /* Startup directory */
-extern char *progname;         /* The program name */
-extern char *makeDependfile;   /* Name of the .depend makefile */
+/* Startup directory */
+extern char curdir[];
+/* The basename of the program name, suffixed with [n] for sub-makes.  */
+extern char *progname;
+/* Name of the .depend makefile */
+extern char *makeDependfile;
 /* If we replaced environ, this will be non-NULL. */
 extern char **savedEnv;
 



Home | Main Index | Thread Index | Old Index