Commit 66aa147d authored by binji@chromium.org's avatar binji@chromium.org

[NaCl SDK] Fix template.mk to check for missing html page inside recipe.

I was seeing the error: "recipe commences before first target. Stop"
http://www.gnu.org/software/make/manual/html_node/Error-Messages.html

BUG=none
TBR=noelallen@chromium.org
NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/10828357

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152108 0039d316-1c4b-4281-b951-d872f2087c98
parent f231bc89
...@@ -115,12 +115,11 @@ RUN: all ...@@ -115,12 +115,11 @@ RUN: all
CONFIG?=Debug CONFIG?=Debug
PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html PAGE?=index_$(TOOLCHAIN)_$(CONFIG).html
LAUNCH: CHECK_FOR_CHROME all
ifeq (,$(wildcard $(PAGE))) ifeq (,$(wildcard $(PAGE)))
$(warning No valid HTML page found at $(PAGE)) $(warning No valid HTML page found at $(PAGE))
$(error Make sure TOOLCHAIN and CONFIG are properly set) $(error Make sure TOOLCHAIN and CONFIG are properly set)
endif endif
LAUNCH: CHECK_FOR_CHROME all
$(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(PPAPI_RELEASE)" localhost:5103/$(PAGE) $(CHROME_PATH) $(NEXE_ARGS) --register-pepper-plugins="$(PPAPI_DEBUG),$(PPAPI_RELEASE)" localhost:5103/$(PAGE)
__PROJECT_POSTLAUNCH__ __PROJECT_POSTLAUNCH__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment