aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-07-18 15:24:16 +0200
committerMicael Karlberg <[email protected]>2011-07-18 15:24:16 +0200
commit917ac0f91480757051b3644832e0bdbb5afd41b6 (patch)
tree52780859be8545fa54b17cd3a905c19d0afa61fd /lib/snmp
parent9e2b8f8ab28cb74be951945ac4ea1df1f8bb0960 (diff)
downloadotp-917ac0f91480757051b3644832e0bdbb5afd41b6.tar.gz
otp-917ac0f91480757051b3644832e0bdbb5afd41b6.tar.bz2
otp-917ac0f91480757051b3644832e0bdbb5afd41b6.zip
Fixed unintended build to ebin dir of snmpc escript.
Diffstat (limited to 'lib/snmp')
-rw-r--r--lib/snmp/src/compile/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile
index 0ceaf276a6..97523098fc 100644
--- a/lib/snmp/src/compile/Makefile
+++ b/lib/snmp/src/compile/Makefile
@@ -49,7 +49,8 @@ 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 +126,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