mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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
7fbf7b2be4
commit
21c3b9c005
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue