mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
$(MAKEFLAGS) already contains -r -R and --no-print-directory: those flags are being added in include.mk.. which is included two lines above. There is no comment and I see no big sense in erasing $(MAKEFLAGS), rather than adding those flags. So I considered this as a typo. Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
35 lines
736 B
Makefile
35 lines
736 B
Makefile
__nmk_dir=scripts/
|
|
export __nmk_dir
|
|
|
|
include $(__nmk_dir)include.mk
|
|
|
|
help:
|
|
@echo ' Targets:'
|
|
@echo ' install dir=<dir> - Install scripts into directory <dir>'
|
|
@echo ' docs - Build documentation'
|
|
@echo ' clean - Clean everything'
|
|
|
|
test:
|
|
$(Q) $(MAKE) -C tests all
|
|
|
|
docs:
|
|
$(Q) $(MAKE) -C Documentation all
|
|
|
|
install:
|
|
@echo 'Copying scripts into $(dir)'
|
|
@cp scripts/build.mk $(dir)
|
|
@cp scripts/include.mk $(dir)
|
|
@cp scripts/macro.mk $(dir)
|
|
@cp scripts/main.mk $(dir)
|
|
@cp scripts/rules.mk $(dir)
|
|
@cp scripts/tools.mk $(dir)
|
|
@cp scripts/utils.mk $(dir)
|
|
|
|
all: ;
|
|
|
|
clean:
|
|
$(call msg-clean, "nmk")
|
|
$(Q) $(MAKE) -C Documentation clean
|
|
$(Q) $(MAKE) -C tests clean
|
|
|
|
.DEFAULT_GOAL ?= all
|