summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-21 00:37:45 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-01-11 22:12:38 +0100
commit9485179064b4eb28f2813eba3c295edca3b0db7f (patch)
treee9f5f003e9887aa130a3f19d82a1d9ace898504b /Makefile
parentdbfd5567aaa06a5f9792bb0839af74877ed5258c (diff)
[mod] move brand options from Makefile to settings.yml
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 2 insertions, 32 deletions
diff --git a/Makefile b/Makefile
index ff3bc225..c2f1832e 100644
--- a/Makefile
+++ b/Makefile
@@ -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
# ----------