summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/footer.html2
-rw-r--r--include/lib.m41
2 files changed, 2 insertions, 1 deletions
diff --git a/include/footer.html b/include/footer.html
index c1c20e2..700ae8a 100644
--- a/include/footer.html
+++ b/include/footer.html
@@ -1,4 +1,4 @@
<small>
Page last edited:
- m4_esyscmd(git log -1 --pretty='format:%cI' Makefile | xargs date +'%A %d %B %Y — %T %Z' -d)
+ m4_esyscmd(git log -1 --pretty='format:%cI' m4___caller__ | xargs date +'%A %d %B %Y — %T %Z' -d)
</small>
diff --git a/include/lib.m4 b/include/lib.m4
new file mode 100644
index 0000000..1adaa16
--- /dev/null
+++ b/include/lib.m4
@@ -0,0 +1 @@
+m4_define(m4_footer, `m4_define(`m4___caller__', m4___file__)m4_include(footer.html)')