summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-03-08 16:14:33 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-03-08 16:14:33 +0100
commitc0d3183593ee67041891caada6d5f456bc7b18ab (patch)
tree323950438b22f444f8445e39136855705a7d7306
parent0d8b369b5b300e8a575d6715fc75067d09db63a5 (diff)
downloadsearxng-c0d3183593ee67041891caada6d5f456bc7b18ab.tar.gz
searxng-c0d3183593ee67041891caada6d5f456bc7b18ab.zip
[fix] make targets engines.languages and useragents.update
Since [PR 2600] is merged the update scripts for languages and useragent has been moved to folder: searx_extra/update/ [PR 2600] https://github.com/searx/searx/pull/2600 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 9917da78b..a5f8a3e08 100644
--- a/Makefile
+++ b/Makefile
@@ -94,15 +94,14 @@ project: buildenv useragents.update engines.languages
engines.languages: pyenvinstall
$(Q)echo "fetch languages .."
- $(Q)$(PY_ENV_ACT); python utils/fetch_languages.py
- $(Q)echo "update searx/data/engines_languages.json"
- $(Q)mv engines_languages.json searx/data/engines_languages.json
- $(Q)echo "update searx/languages.py"
- $(Q)mv languages.py searx/languages.py
+ $(Q)$(PY_ENV_ACT); python ./searx_extra/update/update_languages.py
+ $(Q)echo "updated searx/data/engines_languages.json"
+ $(Q)echo "updated searx/languages.py"
useragents.update: pyenvinstall
- $(Q)echo "Update searx/data/useragents.json with the most recent versions of Firefox."
- $(Q)$(PY_ENV_ACT); python utils/fetch_firefox_version.py
+ $(Q)echo "fetch useragents .."
+ $(Q)$(PY_ENV_ACT); python ./searx_extra/update/update_firefox_version.py
+ $(Q)echo "updated searx/data/useragents.json with the most recent versions of Firefox."
buildenv: pyenv
$(Q)$(PY_ENV_ACT); SEARX_DEBUG=1 python utils/build_env.py