From 7dc35f4c720e56afaa5dd00059c4435d91ee4a52 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 9 Apr 2018 23:10:28 +0200 Subject: Makes the use of macros less dangerous. --- Makefile | 2 +- conf/constants.conf.example | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e672f73..b83802d 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ reset: ## INTERNAL RULES ############################################################## ################################################################################ $(PREPROCESSED_FILES): %: $(CONFIG_FILE) %.m4 - m4 $^ > $@ + m4 -P $^ > $@ $(MODULES_WWW): %: ln -s $(SRC_DIR)/$(patsubst $(WWW_DIR)/%,%,$@)/www/ $@ diff --git a/conf/constants.conf.example b/conf/constants.conf.example index 57df17f..b436ed5 100644 --- a/conf/constants.conf.example +++ b/conf/constants.conf.example @@ -1,3 +1,3 @@ -define(`__CONF_SERVER_NAME', `LOCAL SERVER')dnl -define(`__CONF_SERVER_URL', `http://127.0.0.1')dnl -define(`__CONF_AUTHOR_NAME', `localuser')dnl +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 -- cgit v1.2.3-70-g09d2