aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-07-14 15:36:34 +0200
committerMicael Karlberg <[email protected]>2011-07-14 15:36:34 +0200
commit1a1a0a09f8e0ef027330242c050e955c81eb24c9 (patch)
tree5e94326de67c3df0d4b63d231ce4a234860c4c05 /lib
parent09b2c4e5dfb59a639005502819dea57780d59199 (diff)
downloadotp-1a1a0a09f8e0ef027330242c050e955c81eb24c9.tar.gz
otp-1a1a0a09f8e0ef027330242c050e955c81eb24c9.tar.bz2
otp-1a1a0a09f8e0ef027330242c050e955c81eb24c9.zip
Fixed install of MIB compiler escript. Was incorrectly installed
both in bin end ebin.
Diffstat (limited to 'lib')
-rw-r--r--lib/snmp/src/compile/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile
index 0ceaf276a6..477002e59f 100644
--- a/lib/snmp/src/compile/Makefile
+++ b/lib/snmp/src/compile/Makefile
@@ -49,7 +49,9 @@ ESCRIPT_BIN = $(ESCRIPT_SRC:%.src=$(BIN)/%)
ERL_FILES = $(MODULES:%=%.erl)
-TARGET_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(ESCRIPT_BIN)
+EBIN_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR))
+
+TARGET_FILES = $(EBIN_FILES) $(ESCRIPT_BIN)
GENERATED_PARSER = $(PARSER_MODULE:%=%.erl)
@@ -125,7 +127,7 @@ release_spec: opt
$(INSTALL_DIR) $(RELSYSDIR)/src/compiler
$(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(RELSYSDIR)/src/compiler
$(INSTALL_DIR) $(RELSYSDIR)/ebin
- $(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
+ $(INSTALL_DATA) $(EBIN_FILES) $(RELSYSDIR)/ebin
$(INSTALL_DIR) $(RELSYSDIR)/bin
$(INSTALL_SCRIPT) $(ESCRIPT_BIN) $(RELSYSDIR)/bin