summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-29 11:41:59 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-29 11:41:59 +0200
commit442b27ac1b1f54669fbb9785d780327f62814431 (patch)
treee1bfd55837b6032cf029deea984b8ec14f010e74 /Makefile
parent8a16903a1ca980fc3c670e304067c9e68eb59a25 (diff)
downloadsearxng-442b27ac1b1f54669fbb9785d780327f62814431.tar.gz
searxng-442b27ac1b1f54669fbb9785d780327f62814431.zip
bash: use build environment from Makefile
To Makefile target brand, add creation of bash environment in:: utils/brand.env In bash scripts (manage.sh) source env by:: . utils/brand.env manage.sh help: show GIT_URL and more environment Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b890374e..d09e92828 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,13 @@ searx.brand:
$(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 "build utils/brand.env"
+ $(Q)echo "export GIT_URL='$(GIT_URL)'" > utils/brand.env
+ $(Q)echo "export ISSUE_URL='https://github.com/asciimoo/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
+
# node / npm
# ----------