correct Mailfile logic for custom/default config template file

This commit is contained in:
2025-07-19 21:52:17 -05:00
parent 8f8bb57fd1
commit 5c65206c34

View File

@ -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