From 06e3bad495f254064ab9c6735406a95915b983b3 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 26 Jun 2018 21:57:10 +0200 Subject: Version is now set through a macro. --- conf/constants.conf.example | 4 ++++ www/index.html.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 @@

__CONF_SERVER_NAME

-

Currently running: Latest Dev. Build

+

Currently running: __CONF_VERSION