From 6d2d7fe29d2b59f3f7317704a120c6cf8e794ec4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 18 Jun 2017 17:36:03 +0000 Subject: Implement appending to standard man(7) and mdoc(7) macros with .am. With roff_getstrn(), provide finer control which definitions can be used for what: * All definitions can be used for .if d tests and .am appending. * User-defined for \* expansion, .dei expansion, and macro calling. * Predefined for \* expansion. * Standard macros, original or renamed, for macro calling. Several related improvements while here: * Do not return string table entries that have explicitly been removed. * Do not create a rentab entry when trying to rename a non-existent macro. * Clear an existing rentab entry when the external interface roff_setstr() is called with its name. * Avoid trailing blanks in macro lines generated from renamed and from aliased macros. * Delete the duplicate __m*_reserved[] tables, just use roff_name[]. --- regress/roff/rn/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 regress/roff/rn/Makefile (limited to 'regress/roff/rn/Makefile') diff --git a/regress/roff/rn/Makefile b/regress/roff/rn/Makefile new file mode 100644 index 00000000..87ef7fe1 --- /dev/null +++ b/regress/roff/rn/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.10 2017/03/07 20:00:02 schwarze Exp $ + +REGRESS_TARGETS = append + +.include -- cgit