mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
images/Makefile: fix using $(Q)
Commit 68f92b551 used `$$(Q)` instead of `$(Q)` in the Makefile target, which resulted in the following error: $(Q) echo "Generating descriptor.pb-c.c" /bin/sh: 1: Q: not found Generating descriptor.pb-c.c $(Q) protoc --proto_path=/usr/include --proto_path=images/ --c_out=images/ /usr/include/google/protobuf/descriptor.proto /bin/sh: 1: Q: not found as well as: $(Q) rm -rf images/google /bin/sh: line 1: Q: command not found Fix it. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
68f92b551c
commit
3b242c9ac4
@ -96,13 +96,13 @@ PROTOBUF_DIR := images/google
|
||||
DESCRIPTOR_DIR := $(PROTOBUF_DIR)/protobuf
|
||||
GOOGLE_INCLUDE=$(shell pkg-config protobuf --variable=includedir)/google/protobuf
|
||||
$(DESCRIPTOR_DIR)/descriptor.pb-c.c: $(GOOGLE_INCLUDE)/descriptor.proto
|
||||
$$(Q) echo "Generating descriptor.pb-c.c"
|
||||
$$(Q) protoc --proto_path=/usr/include --proto_path=$(obj)/ --c_out=$(obj)/ $<
|
||||
$(Q) echo "Generating descriptor.pb-c.c"
|
||||
$(Q) protoc --proto_path=/usr/include --proto_path=$(obj)/ --c_out=$(obj)/ $<
|
||||
|
||||
cleanup-y += $(DESCRIPTOR_DIR)/descriptor.pb-c.d
|
||||
|
||||
submrproper:
|
||||
$$(Q) rm -rf $(PROTOBUF_DIR)
|
||||
$(Q) rm -rf $(PROTOBUF_DIR)
|
||||
.PHONY: submrproper
|
||||
mrproper: submrproper
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user