aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Wilson <[email protected]>2017-05-09 13:38:54 -0700
committerLoïc Hoguin <[email protected]>2017-05-10 13:31:46 +0200
commit7430ae6711a20639b2c0cd016749bf5a983c9dae (patch)
tree8dcb89d779132e80702e4b6d34a83bb5c1645433
parent23a862c5618f6f4d7d46958f61f3e78552d5ed39 (diff)
downloaderlang.mk-7430ae6711a20639b2c0cd016749bf5a983c9dae.tar.gz
erlang.mk-7430ae6711a20639b2c0cd016749bf5a983c9dae.tar.bz2
erlang.mk-7430ae6711a20639b2c0cd016749bf5a983c9dae.zip
Fix paths in protobuffs plugin
-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