summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-04 12:11:58 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-04 12:11:58 +0100
commit9f1cb7a943cc5a5e26fec753ddeec47bd3580ea0 (patch)
tree7b3a571ab8caad931b4cbcdf063bf8b10c715095 /Makefile
parent3cb7daedb7c5c93a98dfefa191c161f31a1347c6 (diff)
parenta5d3585a0c47b736b0845fcf6786f0f5b57d4215 (diff)
downloadsearxng-9f1cb7a943cc5a5e26fec753ddeec47bd3580ea0.tar.gz
searxng-9f1cb7a943cc5a5e26fec753ddeec47bd3580ea0.zip
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fadf80cdc..63e7e97f0 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ help:
@echo ' uninstall - uninstall (./local)'
@echo ' gh-pages - build docs & deploy on gh-pages branch'
@echo ' clean - drop builds and environments'
+ @echo ' project - re-build generic files of the searx project'
@echo ''
@echo 'environment'
@echo ' SEARX_URL = $(SEARX_URL)'
@@ -78,6 +79,18 @@ prebuild-includes:
$(GH_PAGES)::
@echo "doc available at --> $(DOCS_URL)"
+# update project files
+# --------------------
+
+PHONY += project engines-languages
+
+project: searx/data/engines_languages.json
+
+searx/data/engines_languages.json: pyenvinstall
+ $(PY_ENV_ACT); python utils/fetch_languages.py
+ mv engines_languages.json searx/data/engines_languages.json
+ mv languages.py searx/languages.py
+
# test
# ----