diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-06 14:13:47 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-06 14:13:47 +0000 |
commit | bc942b21e65675353944cc575b047c6a80080195 (patch) | |
tree | 1b072ecd73ada8d8dda604f7c050fe83b272dabd /README.addmacro | |
parent | c0584f0a6b55bd89fdb730f06598436ff3b2c184 (diff) | |
download | mandoc-bc942b21e65675353944cc575b047c6a80080195.tar.gz |
Strings abstracted into dynamically-created C files.
Added -V option.
Deprecated README files.
Diffstat (limited to 'README.addmacro')
-rw-r--r-- | README.addmacro | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/README.addmacro b/README.addmacro deleted file mode 100644 index f60fe98e..00000000 --- a/README.addmacro +++ /dev/null @@ -1,21 +0,0 @@ -$Id$ - -This documents how to go about adding a macro to mdoc.3. - -(1) Add the macro to the #define list in mdoc.h. -(2) Add the macro to __mdoc_macronames in mdoc.c. -(3) Add the macro to __mdoc_macros in mdoc.c. -(4) Add the macro to mdoc_valids in validate.c. -(5) Add the macro to mdoc_actions in action.c. -(6) Add the macro to mdoc_argflags in argv.c. -(7) Modify the hash routine in hash.c (may not be required). - -If the macro has arguments: - -(1) Add arguments to the #define list in mdoc.h. -(2) Add the arguments to __mdoc_argnames in mdoc.c. -(3) Modify parts of argv.c (lookup() and mdoc_args()). - -You'll certainly want to change the front-ends: - -(1) Add the macro to __termacts in term.c. |