summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-29 16:28:17 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-29 16:28:17 +0200
commit0742c2504dae04ac054d263de8a2b8ab6161312c (patch)
treec9b06ed020551e7f7e5648fd679717518b487544 /Makefile
parent7b4cf2eb489d8f6c95ccac5af180254b78e7c460 (diff)
downloadsearxng-0742c2504dae04ac054d263de8a2b8ab6161312c.tar.gz
searxng-0742c2504dae04ac054d263de8a2b8ab6161312c.zip
build environment: add GIT_BRANCH variable
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 335fa8efd..3c1bbdc66 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
.DEFAULT_GOAL=help
export GIT_URL=https://github.com/asciimoo/searx
+export GIT_BRANCH=master
export SEARX_URL=https://searx.me
export DOCS_URL=https://asciimoo.github.io/searx
@@ -114,12 +115,14 @@ useragents.update: pyenvinstall
searx.brand:
$(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/asciimoo/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 "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/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