diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-01-12 10:52:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-12 10:52:42 +0100 |
| commit | 9c55d772e98f5e51da4a34389dc240cfb3b14852 (patch) | |
| tree | 50f857bf046ab179eee935d40b9e63da7372171e /Makefile | |
| parent | 8d0312d014f09fad2133b6e6c6b597cc08e4daf0 (diff) | |
| parent | 424e6abc7e26c3e3be71678d00f88cf09d6c0a7e (diff) | |
Merge pull request #2408 from return42/rm-brand-make
[mod] move brand options from Makefile to settings.yml
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 34 |
1 files changed, 2 insertions, 32 deletions
@@ -1,14 +1,6 @@ # -*- coding: utf-8; mode: makefile-gmake -*- .DEFAULT_GOAL=help -# START Makefile setup -export GIT_URL=https://github.com/searx/searx -export GIT_BRANCH=master -export SEARX_URL=https://searx.me -export DOCS_URL=https://searx.github.io/searx -# export CONTACT_URL=mailto:contact@example.com -# END Makefile setup - include utils/makefile.include PYOBJECTS = searx @@ -43,12 +35,6 @@ help-min: @echo ' docker - build Docker image' @echo ' node.env - download & install npm dependencies locally' @echo '' - @echo 'environment' - @echo ' SEARX_URL = $(SEARX_URL)' - @echo ' GIT_URL = $(GIT_URL)' - @echo ' DOCS_URL = $(DOCS_URL)' - @echo ' CONTACT_URL = $(CONTACT_URL)' - @echo '' @$(MAKE) -e -s make-help help-all: help-min @@ -118,24 +104,8 @@ 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 -buildenv: - $(Q)echo "build searx/brand.py" - $(Q)echo "GIT_URL = '$(GIT_URL)'" > searx/brand.py - $(Q)echo "GIT_BRANCH = '$(GIT_BRANCH)'" >> searx/brand.py - $(Q)echo "ISSUE_URL = 'https://github.com/searx/searx/issues'" >> searx/brand.py - $(Q)echo "SEARX_URL = '$(SEARX_URL)'" >> searx/brand.py - $(Q)echo "DOCS_URL = '$(DOCS_URL)'" >> searx/brand.py - $(Q)echo "PUBLIC_INSTANCES = 'https://searx.space'" >> searx/brand.py - $(Q)echo "CONTACT_URL = '$(CONTACT_URL)'" >> searx/brand.py - $(Q)echo "build utils/brand.env" - $(Q)echo "export GIT_URL='$(GIT_URL)'" > utils/brand.env - $(Q)echo "export GIT_BRANCH='$(GIT_BRANCH)'" >> utils/brand.env - $(Q)echo "export ISSUE_URL='https://github.com/searx/searx/issues'" >> utils/brand.env - $(Q)echo "export SEARX_URL='$(SEARX_URL)'" >> utils/brand.env - $(Q)echo "export DOCS_URL='$(DOCS_URL)'" >> utils/brand.env - $(Q)echo "export PUBLIC_INSTANCES='https://searx.space'" >> utils/brand.env - $(Q)echo "export CONTACT_URL='$(CONTACT_URL)'" >> utils/brand.env - +buildenv: pyenv + $(Q)$(PY_ENV_ACT); SEARX_DEBUG=1 python utils/build_env.py # node / npm # ---------- |