Don't open a new browser window when running makefile commands.

This commit is contained in:
Roberto Rosario
2016-11-08 17:47:00 -04:00
parent 048960ae52
commit e4a4e6b0c8

View File

@@ -1,12 +1,5 @@
.PHONY: clean-pyc clean-build
define BROWSER_PYSCRIPT
import sys, webbrowser
webbrowser.open(sys.argv[1])
endef
export BROWSER_PYSCRIPT
BROWSER := python -c "$$BROWSER_PYSCRIPT"
help:
@echo
@@ -62,7 +55,6 @@ test-all:
# Documentation
docs_serve:
$(BROWSER) http://127.0.0.1:8000
cd docs;make livehtml
@@ -110,7 +102,6 @@ wheel: clean
# Dev server
runserver:
$(BROWSER) http://127.0.0.1:8000
./manage.py runserver
shell_plus: