summaryrefslogtreecommitdiff
path: root/lib/common_test
diff options
context:
space:
mode:
authorPaulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>2020-10-20 23:13:21 +0100
committerPaulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>2020-10-20 23:13:21 +0100
commit6fbd047d439e026b29bebf7c8e95489d032d521a (patch)
treeb24d277d6adfd5e2bba1ab6097285ff5a4c4418b /lib/common_test
parent4ddf2bc91286aac0dc77dad2af2f8f7fede15f9e (diff)
downloaderlang-6fbd047d439e026b29bebf7c8e95489d032d521a.tar.gz
Tentatively fix source file generation
(trying to have `make test` working)
Diffstat (limited to 'lib/common_test')
-rw-r--r--lib/common_test/src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile
index 7913512b1b..7d7b5ed203 100644
--- a/lib/common_test/src/Makefile
+++ b/lib/common_test/src/Makefile
@@ -91,7 +91,8 @@ MODULES= \
TARGET_MODULES= $(MODULES:%=$(EBIN)/%)
-BEAM_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
+BEAM_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) \
+ $(BEHAVIOUR_MODULES:%=$(EBIN)/%.$(EMULATOR))
ERL_FILES= \
$(MODULES:=.erl) \
@@ -124,8 +125,6 @@ TARGET_FILES = \
$(BEAM_FILES) \
$(APP_TARGET) $(APPUP_TARGET)
-BEHAVIOUR_TARGET_FILES= $(BEHAVIOUR_MODULES:%=$(EBIN)/%.$(EMULATOR))
-
APP_FILE= common_test.app
APP_SRC= $(APP_FILE).src
APP_TARGET= $(EBIN)/$(APP_FILE)
@@ -160,7 +159,7 @@ release_spec: opt
$(INSTALL_DIR) "$(RELSYSDIR)/src"
$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src"
$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
- $(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
+ $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
$(INSTALL_DIR) "$(RELSYSDIR)/include"
$(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include"