diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-23 13:05:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-23 13:05:06 +0000 |
commit | 7afe8a4e9da86c2e69030ba80f8fb4412d0e1307 (patch) | |
tree | c62275ffdac242fb74590b770c3cc5d2ea6549e8 /READE.addmacro | |
parent | 87afbc0e736c0c51230aed2a74f1f10684872d7e (diff) | |
download | mandoc-7afe8a4e9da86c2e69030ba80f8fb4412d0e1307.tar.gz mandoc-7afe8a4e9da86c2e69030ba80f8fb4412d0e1307.tar.zst mandoc-7afe8a4e9da86c2e69030ba80f8fb4412d0e1307.zip |
Added mdoclint.
`make regress' uses mdoclint
Diffstat (limited to 'READE.addmacro')
-rw-r--r-- | READE.addmacro | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/READE.addmacro b/READE.addmacro deleted file mode 100644 index b79f90e2..00000000 --- a/READE.addmacro +++ /dev/null @@ -1,21 +0,0 @@ -$Id: READE.addmacro,v 1.1 2009/02/23 12:45:19 kristaps Exp $ - -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. |