summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 10:39:42 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 10:39:42 +0100
commit79e1f837ef7e7c402fd6e9dbb167aac695f2aee7 (patch)
tree782121d24747f1aaa74a49ff9ea7fae57caee4a0 /Makefile
parent94ac560dcc85e2e75d3b14706a65eb9488643eb4 (diff)
downloadsearxng-79e1f837ef7e7c402fd6e9dbb167aac695f2aee7.tar.gz
searxng-79e1f837ef7e7c402fd6e9dbb167aac695f2aee7.zip
utils & Makefile: add .config.mk & .config.sh for searx brands
By isolating the environment of makefiles and bash scripts into .config.mk and .config.sh it is simple to maintain searx brands by setting some central environments. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6577b374e..500910d8e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
# -*- coding: utf-8; mode: makefile-gmake -*-
-export GIT_URL=https://github.com/asciimoo/searx
-export SEARX_URL=https://searx.me
-export DOCS_URL=https://asciimoo.github.io/searx
+include ./.config.mk
PYOBJECTS = searx
DOC = docs
@@ -80,6 +78,8 @@ test.sh:
shellcheck -x utils/lib.sh
shellcheck -x utils/filtron.sh
shellcheck -x utils/searx.sh
+ shellcheck -x utils/morty.sh
+ shellcheck -x .config.sh
test.pep8: pyenvinstall
$(PY_ENV_ACT); ./manage.sh pep8_check