summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-03-11 09:44:30 +0100
committerGitHub <noreply@github.com>2021-03-11 09:44:30 +0100
commit8b650e6a2d7a8c3dd3f0ccfac76feb91412bbbfa (patch)
treea069787131c67e10d86b3cb058b932205a412683
parentccf5ac980187d70e080e95b102b63646d6c07960 (diff)
parentc0d3183593ee67041891caada6d5f456bc7b18ab (diff)
downloadsearxng-8b650e6a2d7a8c3dd3f0ccfac76feb91412bbbfa.tar.gz
searxng-8b650e6a2d7a8c3dd3f0ccfac76feb91412bbbfa.zip
Merge pull request #2643 from return42/fix-makefile
[fix] make targets engines.languages and useragents.update
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a01bbe687..120f23f01 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