66 makedefs - NetHack miscellaneous build-time functions
77
88SYNOPSIS
9- makedefs { -o | -d | -e | -m | -v | -p | -q | -r | -h | -z }
9+ makedefs { -o | -d | -e | -m | -v | -p | -q | -r | -h }
1010
1111 makedefs --input file --output file --command
1212
@@ -26,19 +26,22 @@ SHORT COMMANDS
2626
2727 -d Generate data.base.
2828
29- -v Generate date.h and options file. It will read dat/gitinfo.txt,
29+ -e Generate dungeon.pdf. The input file dungeon.def is passed
30+ through the same logic as that used by the --grep command; see
31+ the MDGREP FUNCTIONS section below for details.
32+
33+ -m Generate date.h and options file. It will read dat/gitinfo.txt,
3034 only if it is present, to obtain githash= and gitbranch=
35+ info and include related preprocessor #defines in date.h file.
3136
3237 -p Generate pm.h
3338
34- -r Generate the rumors file.
39+ -q Generate the rumors file.
3540
3641 -s Generate the bogusmon , engrave and epitaphfiles.
3742
3843 -h Generate the oracles file.
3944
40- -z Generate vis_tab.c and vis_tab.h.
41-
4245LONG COMMANDS
4346 --debug
4447 Show debugging output.
@@ -60,13 +63,13 @@ LONG COMMANDS
6063 newline. If specified, the delimiter is used between each part
6164 of the version string.
6265
63- --grep Filter the input file to the output file. See the MDGREP FUNC-
66+ --grep Filter the input file to the output file. See the MDGREP FUNC‐
6467 TIONS section below for information on controlling the filtering
6568 operation.
6669
6770 --grep-showvars
68- Show the name and value for each variable known to the grep
69- option .
71+ Show the name and value for each variable known to the grep op‐
72+ tion .
7073
7174 --grep-trace
7275 Turn on debug tracing for the grep function ( --grep must be
@@ -83,32 +86,32 @@ LONG COMMANDS
8386MDGREP FUNCTIONS
8487 The --grep command (and certain other commands) filter their input, on
8588 a line-by-line basis, according to control lines embedded in the input
86- and on information gleaned from the NetHack(6) configuration. This
87- allows certain changes such as embedding platform-specific documenta-
88- tion into the master documentation files.
89+ and on information gleaned from the NetHack(6) configuration. This al‐
90+ lows certain changes such as embedding platform-specific documentation
91+ into the master documentation files.
8992
9093 Rules:
9194
9295 - The default conditional state is printing enabled.
9396
9497 - Any line NOT starting with a caret (^) is either suppressed
95- or passed through unchanged depending on the current condi-
98+ or passed through unchanged depending on the current condi‐
9699 tional state.
97100
98101 - Any line starting with a caret is a control line; as in C,
99- zero or more spaces may be embedded in the line almost any-
102+ zero or more spaces may be embedded in the line almost any‐
100103 where (except immediately after the caret); however the
101104 caret must be in column 1.
102105
103106 - Conditionals may be nested.
104107
105- - Makedefs will exit with an error code if any errors are
106- detected ; processing will continue (if it can) to allow as
108+ - Makedefs will exit with an error code if any errors are de‐
109+ tected ; processing will continue (if it can) to allow as
107110 many errors as possible to be detected.
108111
109- - Unknown identifiers are treated as both TRUE and as an
110- error . Note that --undef or #undef in the NetHack(6) con-
111- figuration are different from unknown.
112+ - Unknown identifiers are treated as both TRUE and as an er‐
113+ ror . Note that --undef or #undef in the NetHack(6) configu‐
114+ ration are different from unknown.
112115
113116 Control lines:
114117
@@ -134,10 +137,9 @@ SEE ALSO
134137
135138COPYRIGHT
136139 This file is Copyright (C) Kenneth Lorber and was last modified
137- 2018/04/25 (version NetHack-3.6.0:1.10). NetHack may be freely redis-
140+ 2018/04/25 (version NetHack-3.6.0:1.10). NetHack may be freely redis‐
138141 tributed. See license for details.
139142
140143
141144
142-
143145NETHACK 1 Jan 2020 MAKEDEFS(6)
0 commit comments