diff --git a/doc/makedefs.txt b/doc/makedefs.txt index 8c2edb3c8..08ca2c9ef 100644 --- a/doc/makedefs.txt +++ b/doc/makedefs.txt @@ -1,4 +1,4 @@ -MAKEDEFS(6) MAKEDEFS(6) +MAKEDEFS(6) Games Manual MAKEDEFS(6) @@ -30,21 +30,28 @@ SHORT COMMANDS through the same logic as that used by the --grep command; see the MDGREP FUNCTIONS section below for details. - -m Generate monster.c. - - -v Generate date.h and options file. + -m Generate date.h and options file. It will read dat/gitinfo.txt, + only if it is present, to obtain githash= and gitbranch= + info and include related preprocessor #defines in date.h file. -p Generate pm.h - -q Generate quest.dat. + -q Generate the rumors file. - -r Generate the rumors file. + -s Generate the bogusmon , engrave and epitaphfiles. -h Generate the oracles file. -z Generate vis_tab.c and vis_tab.h. LONG COMMANDS + --debug + Show debugging output. + + --make [command] + Execute a short command. Command is given without preceding + dash. + --input file Specify the input file for the command (if needed). If the file is - standard input is read. @@ -58,7 +65,7 @@ LONG COMMANDS newline. If specified, the delimiter is used between each part of the version string. - --grep Filter the input file to the output file. See the MDGREP FUNC + --grep Filter the input file to the output file. See the MDGREP FUNC- TIONS section below for information on controlling the filtering operation. @@ -82,7 +89,7 @@ MDGREP FUNCTIONS The --grep command (and certain other commands) filter their input, on a line-by-line basis, according to control lines embedded in the input and on information gleaned from the NetHack(6) configuration. This - allows certain changes such as embedding platform-specific documenta + allows certain changes such as embedding platform-specific documenta- tion into the master documentation files. Rules: @@ -90,11 +97,11 @@ MDGREP FUNCTIONS - The default conditional state is printing enabled. - Any line NOT starting with a caret (^) is either suppressed - or passed through unchanged depending on the current condi + or passed through unchanged depending on the current condi- tional state. - Any line starting with a caret is a control line; as in C, - zero or more spaces may be embedded in the line almost any + zero or more spaces may be embedded in the line almost any- where (except immediately after the caret); however the caret must be in column 1. @@ -105,7 +112,7 @@ MDGREP FUNCTIONS many errors as possible to be detected. - Unknown identifiers are treated as both TRUE and as an - error. Note that --undef or #undef in the NetHack(6) con + error. Note that --undef or #undef in the NetHack(6) con- figuration are different from unknown. Control lines: @@ -130,6 +137,11 @@ AUTHOR SEE ALSO dgn_comp(6) +COPYRIGHT + This file is Copyright (C) Kenneth Lorber and was last modified + 2018/04/25 (version NetHack-3.6.0:1.10). NetHack may be freely redis- + tributed. See license for details. -4th Berkeley Distribution 29 Apr 2010 MAKEDEFS(6) + +NETHACK 1 Jan 2020 MAKEDEFS(6)