[CRIU] [PATCH] make: don't run feature-tests for tags/etags/cscope

Dmitry Safonov dsafonov at virtuozzo.com
Mon Apr 24 05:51:47 PDT 2017


Each `make tags` resulted in running feature-tests.
That's not needed for tags generation.
Don't waste time on tests as we don't compile anything.

Reported-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 385a4d096835..d091ed4490b9 100644
--- a/Makefile
+++ b/Makefile
@@ -194,7 +194,7 @@ criu-deps	+= include/common/asm
 #
 # Configure variables.
 export CONFIG_HEADER := criu/include/config.h
-ifeq ($(filter clean mrproper,$(MAKECMDGOALS)),)
+ifeq ($(filter tags etags cscope clean mrproper,$(MAKECMDGOALS)),)
 include Makefile.config
 else
 # To clean all files, enable make/build options here
-- 
2.12.2



More information about the CRIU mailing list