aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/Makefile
diff options
context:
space:
mode:
authorPeter Lemenkov <[email protected]>2014-08-26 13:53:49 +0400
committerPeter Lemenkov <[email protected]>2014-08-26 13:53:51 +0400
commit22b78c2df4d5faa80b6a96d3fb2e204ad0662c13 (patch)
tree991549ac9a8417aa957d64ef03ef76fad47e54ae /lib/eunit/src/Makefile
parent83113d9f1df48dc73fbff82705e8aa3fb3af6723 (diff)
downloadotp-22b78c2df4d5faa80b6a96d3fb2e204ad0662c13.tar.gz
otp-22b78c2df4d5faa80b6a96d3fb2e204ad0662c13.tar.bz2
otp-22b78c2df4d5faa80b6a96d3fb2e204ad0662c13.zip
Install internal hrl files when necessary
Sometimes we install *.erl files. Some these files include a private *.hrl files, so in order to make these *.erl files usable we have to install these private includes as well. Signed-off-by: Peter Lemenkov <[email protected]>
Diffstat (limited to 'lib/eunit/src/Makefile')
-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"