make: don't run feature-tests for tags/etags/cscope

Submitted by Dmitry Safonov on April 24, 2017, 12:51 p.m.

Details

Message ID 20170424125147.18367-1-dsafonov@virtuozzo.com
State New
Series "make: don't run feature-tests for tags/etags/cscope"
Headers show

Commit Message

Dmitry Safonov April 24, 2017, 12:51 p.m.
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@virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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

Comments

Andrey Vagin May 5, 2017, 11:25 p.m.
Applied, thanks!
On Mon, Apr 24, 2017 at 03:51:47PM +0300, Dmitry Safonov wrote:
> 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@virtuozzo.com>
> Signed-off-by: Dmitry Safonov <dsafonov@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
> 
> _______________________________________________
> CRIU mailing list
> CRIU@openvz.org
> https://lists.openvz.org/mailman/listinfo/criu