aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept
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/percept
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/percept')
-rw-r--r--lib/percept/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/percept/src/Makefile b/lib/percept/src/Makefile
index 6bf0af9dc6..0282d6346a 100644
--- a/lib/percept/src/Makefile
+++ b/lib/percept/src/Makefile
@@ -50,6 +50,8 @@ MODULES= \
#HRL_FILES= ../include/
+INTERNAL_HRL_FILES= egd.hrl percept.hrl
+
ERL_FILES= $(MODULES:%=%.erl)
TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET)
@@ -95,6 +97,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
release_spec: opt
$(INSTALL_DIR) "$(RELSYSDIR)/src"
$(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src"
+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src"
# $(INSTALL_DIR) "$(RELSYSDIR)/include"
# $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include"
$(INSTALL_DIR) "$(RELSYSDIR)/ebin"