Use relative paths instead of absolute paths

This commit is contained in:
Pavel Janík 2016-04-02 16:32:42 +02:00
parent 30c2dd8d05
commit 0087f26848

View file

@ -479,7 +479,7 @@ endif
%.pb.cc %.pb.h: %.proto %.pb.cc %.pb.h: %.proto
@test -f $(PROTOC) @test -f $(PROTOC)
$(AM_V_GEN) $(PROTOC) --cpp_out=$(@D) --proto_path=$(abspath $(<D) $<) $(AM_V_GEN) $(PROTOC) --cpp_out=$(@D) --proto_path=$(<D) $<
if ENABLE_TESTS if ENABLE_TESTS
include Makefile.test.include include Makefile.test.include