Revision: 22486f44ab08
Author: anatoly techtonik <tech...@gmail.com>
Date: Mon Feb 13 05:54:56 2012
Log: Fix `make` to require only SDK_PATH to run...
http://code.google.com/p/rietveld/source/detail?r=22486f44ab08
Revision: a2b68fad1298
Author: anatoly techtonik <tech...@gmail.com>
Date: Mon Feb 13 05:55:39 2012
Log: Makefile: add 'run' alias for 'serve'...
http://code.google.com/p/rietveld/source/detail?r=a2b68fad1298
==============================================================================
Revision: 22486f44ab08
Author: anatoly techtonik <tech...@gmail.com>
Date: Mon Feb 13 05:54:56 2012
Log: Fix `make` to require only SDK_PATH to run
Review URL: http://codereview.appspot.com/5651086/
http://code.google.com/p/rietveld/source/detail?r=22486f44ab08
Modified:
/Makefile
=======================================
--- /Makefile Mon Oct 10 20:41:37 2011
+++ /Makefile Mon Feb 13 05:54:56 2012
@@ -1,15 +1,17 @@
# Makefile to simplify some common AppEngine actions.
# Use 'make help' for a list of commands.
-DEV_APPSERVER?= dev_appserver.py
+SDK_PATH ?=
+
+DEV_APPSERVER?= $(if $(SDK_PATH), $(SDK_PATH)/,)dev_appserver.py
DEV_APPSERVER_FLAGS?=
-APPCFG?= appcfg.py
+APPCFG?= $(if $(SDK_PATH), $(SDK_PATH)/,)/appcfg.py
APPCFG_FLAGS?=
PYTHON?= python2.5
COVERAGE?= coverage
-SDK_PATH?=
+
default: help
==============================================================================
Revision: a2b68fad1298
Author: anatoly techtonik <tech...@gmail.com>
Date: Mon Feb 13 05:55:39 2012
Log: Makefile: add 'run' alias for 'serve'
Review URL: http://codereview.appspot.com/5651086/
http://code.google.com/p/rietveld/source/detail?r=a2b68fad1298
Modified:
/Makefile
=======================================
--- /Makefile Mon Feb 13 05:54:56 2012
+++ /Makefile Mon Feb 13 05:55:39 2012
@@ -19,6 +19,8 @@
@echo "Available commands:"
@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort
+run: serve
+
serve: update_revision
@echo "---[Starting SDK AppEngine Server]---"
$(DEV_APPSERVER) $(DEV_APPSERVER_FLAGS) .