mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
As was intended from the scratch. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
16 lines
372 B
Makefile
16 lines
372 B
Makefile
all: images rpc.py
|
|
|
|
.PHONY: all images clean
|
|
|
|
images:
|
|
$(Q) $(MAKE) -C images all
|
|
|
|
# rpc_pb2.py doesn't depend on any other file, so
|
|
# it is safe to rename it, dropping ugly _pb2 suffix.
|
|
rpc.py:
|
|
$(Q) protoc -I=$(SRC_DIR)/images/ --python_out=./ $(SRC_DIR)/images/$(@:.py=.proto)
|
|
$(Q) mv $(@:.py=_pb2.py) $@
|
|
|
|
clean:
|
|
$(Q) $(MAKE) -C images clean
|
|
$(Q) $(RM) rpc.py *.pyc
|