aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/depend.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/src/compile/depend.mk')
-rw-r--r--lib/snmp/src/compile/depend.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/snmp/src/compile/depend.mk b/lib/snmp/src/compile/depend.mk
index 75af1bf293..74eb6e0864 100644
--- a/lib/snmp/src/compile/depend.mk
+++ b/lib/snmp/src/compile/depend.mk
@@ -44,3 +44,6 @@ $(EBIN)/snmpc_mib_gram.$(EMULATOR): \
../../include/snmp_types.hrl \
snmpc_mib_gram.erl
+$(BIN)/snmpc: snmpc.src
+ $(PERL) -p -e 's?%VSN%?$(VSN)? ' < $< > $@
+ chmod 755 $@