dnl Copyright (C) 2025 The Meme Factory, Inc. http://www.karlpinc.com/
dnl
dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU Affero General Public License as published
dnl by the Free Software Foundation, either version 3 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU Affero General Public License for more details.
dnl
dnl You should have received a copy of the GNU Affero General Public License
dnl along with this program. If not, see .
dnl
dnl Karl O. Pinc
dnl
dnl Macros used to create in-database comments.
dnl
dnl
dnl Define m4 macros so we don't have to type so much.
dnl (Or at least type stuff that's more fun.)
dnl
dnl Watch out for using the single quote char as it has special
dnl meaning to m4.
dnl
dnl Bugs:
dnl
changequote([{[,]}])dnl m4 foolery so includes include only once.
dnl Once the macro is in the text, change the quotes back
ifdef([{[_commentmacros.m4]}], [{[changequote(`,')]}], [{[dnl
changequote(`,')dnl
dnl
dnl Standard test for having already included the file.
define(`_commentmacros.m4')dnl
dnl
dnl Don't output anything while defining macros.
divert(-1)
dnl
dnl Macros for comment extraction from docbook source
dnl
define(`isok_comment_delim', `$isok_comment$')
define(`isok_comment_delim_regex', `[$]isok_comment[$]')
-- Done defining macros.
divert`'dnl
]}])dnl End of ifdef over the whole file.