diff options
-rw-r--r-- | include/footer.html | 2 | ||||
-rw-r--r-- | include/lib.m4 | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/include/footer.html b/include/footer.html index e3235e1..6b45a2c 100644 --- a/include/footer.html +++ b/include/footer.html @@ -1,4 +1,4 @@ -m4_define(`m4___id__', m4_esyscmd(git rev-list -1 HEAD m4___caller__)) +m4_define(m4___id__, m4_esyscmd(git rev-list -1 HEAD m4___caller__)) <small> Page last edited: <a diff --git a/include/lib.m4 b/include/lib.m4 index 2535ed2..34cf2c3 100644 --- a/include/lib.m4 +++ b/include/lib.m4 @@ -1,9 +1,13 @@ +m4_dnl To avoid annoying conflicts with quote characters, use +m4_dnl U+2068 FIRST STRONG ISOLATE and U+2069 POP DIRECTIONAL ISOLATE +m4_changequote(,) + m4_define( m4_footer, - `m4_define(`m4___caller__', m4___file__)m4_include(footer.html)' + m4_define(m4___caller__, m4___file__)m4_include(footer.html) ) m4_define( m4_fmt_code, - `m4_esyscmd(fmt-code "$1" m4___file__)m4_dnl' + m4_esyscmd(fmt-code "$1" m4___file__)m4_dnl ) |