From 5c65206c345ca7198a1bd6d4a157c79fdc88bf43 Mon Sep 17 00:00:00 2001 From: Corwin Brust Date: Sat, 19 Jul 2025 21:52:17 -0500 Subject: [PATCH] correct Mailfile logic for custom/default config template file --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ade15ed..42c673f 100644 --- a/Makefile +++ b/Makefile @@ -23,16 +23,17 @@ icecast2_port := 8000 ## ## More or less internal stuffs ## -default_config_template := icecast.xml.template -ICECAST_CONFIG_TEMPLATE := $(ICECAST_CONFIG_TEMPLATE) -#ICECAST_CONFIG_TEMPLATE != [ -z "$(ICECAST_CONFIG_TEMPLATE)" ] || echo "$(default_config_template)" -#ICECAST_CONFIG_TEMPLATE := icecast.xml.template.foo +ICECAST_CONFIG_TEMPLATE ?= icecast.xml.template ## generate configuration files for icecast2 # these targets aren't associated with files -.PHONEY: config backup-live-config install +.PHONEY: config backup-live-config install foo + +foo: + @echo $(ICECAST_CONFIG_TEMPLATE) + false ## main "entry point" makefile targets config: icecast.xml .env