From: Luca Boccassi Date: Sun, 16 Dec 2018 20:55:37 +0000 (+0000) Subject: Makefile: have check target depend on all X-Git-Tag: v5.0.0~56 X-Git-Url: https://git.proxmox.com/?p=mirror_iproute2.git;a=commitdiff_plain;h=0115d55e9f81a2e7d6ca8d5134084354898118b8 Makefile: have check target depend on all Otherwise it will simply fail immediately from a just-cleaned workspace: $ make check -j1 cd testsuite && make && make alltests echo "Entering iproute2" && cd iproute2 && make configure && cd ..; Entering iproute2 make -C tools Makefile:3: ../../config.mk: No such file or directory make[2]: *** No rule to make target '../../config.mk'. Stop. Fixes: 8804a8c0d387 ("Makefile: Add check target") Signed-off-by: Luca Boccassi Reviewed-by: Petr Vorel Tested-by: Petr Vorel Signed-off-by: Stephen Hemminger --- diff --git a/Makefile b/Makefile index b7488add..20c760e2 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ clobber: distclean: clobber -check: +check: all cd testsuite && $(MAKE) && $(MAKE) alltests cscope: