package/nodejs: Define NPM command for other packages to use
commitc50256b6d2c4357cfea39350fa6f5496995e200d
authorMartin Bark <martin@barkynet.com>
Thu, 2 Jul 2015 09:43:27 +0000 (2 10:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Jul 2015 12:38:44 +0000 (4 14:38 +0200)
tree850295294cc05b3b4386798425a184e6828a6b9e
parentc72b8eaf21f5dc7c7cb8095357c542acb86bb356
package/nodejs: Define NPM command for other packages to use

Other nodejs-related packages will need to call npm with the same set of
arguments as is currently used by the nodejs package itself.

To avoid duplicating this code, set the NPM variable so those packages can
re-use it.

Signed-off-by: Martin Bark <martin@barkynet.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nodejs/nodejs.mk