summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 29faaeefa..94309cefe 100644
--- a/Makefile
+++ b/Makefile
@@ -266,4 +266,19 @@ test.clean:
travis.codecov:
$(Q)$(PY_ENV_BIN)/python -m pip install codecov
-.PHONY: $(PHONY)
+
+# user-settings
+# -------------
+
+PHONY += user-settings.create user-settings.update
+
+user-settings.update: pyenvinstall
+ $(Q)$(PY_ENV_ACT); pip install ruamel.yaml
+ $(Q)$(PY_ENV_ACT); python utils/update_user_settings.py ${SEARX_SETTINGS_PATH}
+
+user-settings.update.engines: pyenvinstall
+ $(Q)$(PY_ENV_ACT); pip install ruamel.yaml
+ $(Q)$(PY_ENV_ACT); python utils/update_user_settings.py --add-engines ${SEARX_SETTINGS_PATH}
+
+
+.PHONY: $(PHONY) \ No newline at end of file