Makefile: test if "dot" exists in "<pkg>-graph-depends"
authorFabio Porcedda <fabio.porcedda@gmail.com>
Tue, 17 Jun 2014 09:33:54 +0000 (11:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Jun 2014 17:24:33 +0000 (19:24 +0200)
commitd3c1c647ff9b45d8664036e2003bd5ebaa3f9ccd
treecf93921c34d6fc0469c7cb9b2a8481b95edbb020
parent9ab109869fe1758e47c75edd16b20af1db05e1fc
Makefile: test if "dot" exists in "<pkg>-graph-depends"

To be able to check the "dot" command availability in
"<pkg>-graph-depends" move the check to the "graph-depends-requirements" rule.
Also don't use a subshell for the exit command to be sure that the error
will be returned by the shell.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
package/pkg-generic.mk