aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/protobuffs.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/protobuffs.mk b/plugins/protobuffs.mk
index c01ac06..dea271d 100644
--- a/plugins/protobuffs.mk
+++ b/plugins/protobuffs.mk
@@ -17,10 +17,9 @@ endef
define compile_proto.erl
[begin
- Dir = filename:dirname(filename:dirname(F)),
protobuffs_compile:generate_source(F,
- [{output_include_dir, Dir ++ "/include"},
- {output_src_dir, Dir ++ "/ebin"}])
+ [{output_include_dir, "./include"},
+ {output_src_dir, "./ebin"}])
end || F <- string:tokens("$(1)", " ")],
halt().
endef