aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit
diff options
context:
space:
mode:
authorMarcus Arendt <[email protected]>2014-09-25 10:30:11 +0200
committerMarcus Arendt <[email protected]>2014-09-25 10:30:11 +0200
commitdc1b53158e171f8e17d6da80156b7e852f6e49de (patch)
treea3cf25140be1ec06e7b2e15e804608f98019a03b /lib/eunit
parent69b42b150e3d363e2b84dcda39de8b6e08acc687 (diff)
parent22b78c2df4d5faa80b6a96d3fb2e204ad0662c13 (diff)
downloadotp-dc1b53158e171f8e17d6da80156b7e852f6e49de.tar.gz
otp-dc1b53158e171f8e17d6da80156b7e852f6e49de.tar.bz2
otp-dc1b53158e171f8e17d6da80156b7e852f6e49de.zip
Merge branch 'lemenkov/install_additional_headers/OTP-12197' into maint
* lemenkov/install_additional_headers/OTP-12197: Install internal hrl files when necessary
Diffstat (limited to 'lib/eunit')
-rw-r--r--lib/eunit/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile
index e6dab67363..82bd64c914 100644
--- a/lib/eunit/src/Makefile
+++ b/lib/eunit/src/Makefile
@@ -46,6 +46,8 @@ SOURCES= \
INCLUDE_FILES = eunit.hrl
+INTERNAL_HRL_FILES= eunit_internal.hrl
+
PARSE_TRANSFORM_BIN = $(PARSE_TRANSFORM:%.erl=$(EBIN)/%.$(EMULATOR))
TARGET_FILES= $(SOURCES:%.erl=$(EBIN)/%.$(EMULATOR))
@@ -119,6 +121,7 @@ release_spec: opt
$(INSTALL_DATA) $(PARSE_TRANSFORM_BIN) $(OBJECTS) "$(RELSYSDIR)/ebin"
$(INSTALL_DIR) "$(RELSYSDIR)/src"
$(INSTALL_DATA) $(PARSE_TRANSFORM) $(SOURCES) "$(RELSYSDIR)/src"
+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
$(INSTALL_DIR) "$(RELSYSDIR)/include"
$(INSTALL_DATA) $(INCLUDE_DELIVERABLES) "$(RELSYSDIR)/include"