correct Mailfile logic for custom/default config template file
This commit is contained in:
11
Makefile
11
Makefile
@ -23,16 +23,17 @@ icecast2_port := 8000
|
|||||||
##
|
##
|
||||||
## More or less internal stuffs
|
## 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
|
## generate configuration files for icecast2
|
||||||
|
|
||||||
# these targets aren't associated with files
|
# 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
|
## main "entry point" makefile targets
|
||||||
config: icecast.xml .env
|
config: icecast.xml .env
|
||||||
|
|||||||
Reference in New Issue
Block a user