summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-05-15 09:57:09 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-05-15 09:57:09 +0200
commit4954e56b69201463b23e9a140832d5ff56c9ebcb (patch)
treec8a60c7685b75d046e4072c4f2550f53167f1e6a /Makefile
parent2d4d0bdc0cdc239dee931ba98a95bd632eb645e2 (diff)
downloadsearxng-4954e56b69201463b23e9a140832d5ff56c9ebcb.tar.gz
searxng-4954e56b69201463b23e9a140832d5ff56c9ebcb.zip
[fix] Makefile: node.env is a prerequisite of lessc and grunt
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index abd0eddb8..863520788 100644
--- a/Makefile
+++ b/Makefile
@@ -136,29 +136,29 @@ quiet_cmd_grunt = GRUNT $2
cmd_grunt = PATH="$$(npm bin):$$PATH" \
grunt --gruntfile "$2"
-themes.oscar:
+themes.oscar: node.env
$(Q)echo '[!] build oscar theme'
$(call cmd,grunt,searx/static/themes/oscar/gruntfile.js)
-themes.simple:
+themes.simple: node.env
$(Q)echo '[!] build simple theme'
$(call cmd,grunt,searx/static/themes/simple/gruntfile.js)
-themes.legacy:
+themes.legacy: node.env
$(Q)echo '[!] build legacy theme'
$(call cmd,lessc,themes/legacy/less/style-rtl.less,themes/legacy/css/style-rtl.css)
$(call cmd,lessc,themes/legacy/less/style.less,themes/legacy/css/style.css)
-themes.courgette:
+themes.courgette: node.env
$(Q)echo '[!] build courgette theme'
$(call cmd,lessc,themes/courgette/less/style.less,themes/courgette/css/style.css)
$(call cmd,lessc,themes/courgette/less/style-rtl.less,themes/courgette/css/style-rtl.css)
-themes.pixart:
+themes.pixart: node.env
$(Q)echo '[!] build pixart theme'
$(call cmd,lessc,themes/pix-art/less/style.less,themes/pix-art/css/style.css)
-themes.bootstrap:
+themes.bootstrap: node.env
$(call cmd,lessc,less/bootstrap/bootstrap.less,css/bootstrap.min.css)