summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-30 15:55:13 +0200
committerGitHub <noreply@github.com>2020-06-30 15:55:13 +0200
commit6163bd671bbf71a9eae3a6a9b1019e2a701c4946 (patch)
tree42690fa0e0b77f81f87201635e4d3f73c4330739 /Makefile
parentc59ca600423367d54e9b301cf086deeb66602831 (diff)
parentf14a7add31c8db54c90ee7bd8504e3f395faf944 (diff)
Merge pull request #1954 from return42/csp-oscar-theme
[fix] oscar theme, remove inline style attributes (CSP compliants)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f2b79ac3f..2f10c62bc 100644
--- a/Makefile
+++ b/Makefile
@@ -164,29 +164,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)