summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:20:30 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:20:30 +0100
commit425ec3b70738e693922755b4ee8a8a73642b7fee (patch)
treeab3d3f02d7938796ec9ef3885c3ef636e7e1cca9 /Makefile
parente30f43bd81b3d7a682b3bb65eacd20ddb46b5230 (diff)
downloadsearxng-425ec3b70738e693922755b4ee8a8a73642b7fee.tar.gz
searxng-425ec3b70738e693922755b4ee8a8a73642b7fee.zip
Using .less instead of .css
to generate the .css file from the .less file run: $make styles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cc5967581..051cad36e 100644
--- a/Makefile
+++ b/Makefile
@@ -43,11 +43,14 @@ production: bin/buildout production.cfg setup.py
minimal: bin/buildout minimal.cfg setup.py
bin/buildout -c minimal.cfg $(options)
+styles:
+ @lessc -x searx/static/css/style.less > searx/static/css/style.css
+
locales:
@pybabel compile -d searx/translations
clean:
@rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \
- searx.egg-info lib include .coverage coverage
+ searx.egg-info lib include .coverage coverage searx/static/css/*.css
-.PHONY: all tests robot flake8 coverage production minimal locales clean
+.PHONY: all tests robot flake8 coverage production minimal styles locales clean