|
@@ -59,7 +59,7 @@ app:: clean deps $(PROJECT).d
|
|
|
$(verbose) $(MAKE) --no-print-directory app-build
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(wildcard src/$(PROJECT)_app.erl),)
|
|
|
+ifeq ($(wildcard src/$(PROJECT_MOD).erl),)
|
|
|
define app_file
|
|
|
{application, $(PROJECT), [
|
|
|
{description, "$(PROJECT_DESCRIPTION)"},
|
|
@@ -79,7 +79,7 @@ define app_file
|
|
|
{modules, [$(call comma_list,$(2))]},
|
|
|
{registered, [$(call comma_list,$(PROJECT)_sup $(PROJECT_REGISTERED))]},
|
|
|
{applications, [$(call comma_list,kernel stdlib $(OTP_DEPS) $(LOCAL_DEPS) $(DEPS))]},
|
|
|
- {mod, {$(PROJECT)_app, []}}
|
|
|
+ {mod, {$(PROJECT_MOD), []}}
|
|
|
]}.
|
|
|
endef
|
|
|
endif
|