From fbcdaad54adb1d801f1d99f72d592913e5756a72 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Tue, 10 May 2016 15:21:49 +0200 Subject: [PATCH] Fix OpenWRT makefile Build/Compile step Fixes #307 --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 839ded9..c5c663d 100644 --- a/Makefile +++ b/Makefile @@ -43,11 +43,14 @@ define Build/Prepare endef define Build/Compile - npm install + # We're cd'in into the build dir manually so it + # runs these in the build dir, instead of the + # shared customfeeds folder + cd $(PKG_BUILD_DIR) && npm install ifeq ($(CONFIG_DOODLE3D_CLIENT_MINIFY_JS),y) - grunt less autoprefixer cssmin concat uglify + cd $(PKG_BUILD_DIR) && grunt less autoprefixer cssmin concat uglify else - grunt less autoprefixer cssmin concat + cd $(PKG_BUILD_DIR) && grunt less autoprefixer cssmin concat endif endef