1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

Merge pull request #2643 from return42/fix-makefile

[fix] make targets engines.languages and useragents.update
This commit is contained in:
Alexandre Flament 2021-03-11 09:44:30 +01:00 committed by GitHub
commit 8b650e6a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,15 +94,14 @@ project: buildenv useragents.update engines.languages
engines.languages: pyenvinstall engines.languages: pyenvinstall
$(Q)echo "fetch languages .." $(Q)echo "fetch languages .."
$(Q)$(PY_ENV_ACT); python utils/fetch_languages.py $(Q)$(PY_ENV_ACT); python ./searx_extra/update/update_languages.py
$(Q)echo "update searx/data/engines_languages.json" $(Q)echo "updated searx/data/engines_languages.json"
$(Q)mv engines_languages.json searx/data/engines_languages.json $(Q)echo "updated searx/languages.py"
$(Q)echo "update searx/languages.py"
$(Q)mv languages.py searx/languages.py
useragents.update: pyenvinstall useragents.update: pyenvinstall
$(Q)echo "Update searx/data/useragents.json with the most recent versions of Firefox." $(Q)echo "fetch useragents .."
$(Q)$(PY_ENV_ACT); python utils/fetch_firefox_version.py $(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 buildenv: pyenv
$(Q)$(PY_ENV_ACT); SEARX_DEBUG=1 python utils/build_env.py $(Q)$(PY_ENV_ACT); SEARX_DEBUG=1 python utils/build_env.py