summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/constants.conf.example4
-rw-r--r--www/index.html.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/conf/constants.conf.example b/conf/constants.conf.example
index b436ed5..ae0efdb 100644
--- a/conf/constants.conf.example
+++ b/conf/constants.conf.example
@@ -1,3 +1,7 @@
m4_define(`__CONF_SERVER_NAME', `LOCAL SERVER')m4_dnl
m4_define(`__CONF_SERVER_URL', `http://127.0.0.1')m4_dnl
m4_define(`__CONF_AUTHOR_NAME', `localuser')m4_dnl
+m4_define(`__CONF_VERSION', `Latest Dev. Build (m4_esyscmd(date -R -u))')m4_dnl
+m4_define(NEWLINE,`
+')m4_dnl
+m4_define(`__CONF_VERSION',m4_translit(__CONF_VERSION, NEWLINE))m4_dnl
diff --git a/www/index.html.m4 b/www/index.html.m4
index 881fa83..37a243c 100644
--- a/www/index.html.m4
+++ b/www/index.html.m4
@@ -11,7 +11,7 @@
<body>
<div style="margin: 1em;">
<h1>__CONF_SERVER_NAME</h1>
- <h3>Currently running: Latest Dev. Build</h3>
+ <h3>Currently running: __CONF_VERSION</h3>
</div>
<div class="popup-message">
<p>This website lets you play the game, even during its development phase. As a result, there is a lot missing.</p>