Bug 1212272 - 'make dist' for the Loop standalone doesn't update the css and supplementary files properly. r=dmose. NPOTB DONTBUILD
authorMark Banner <standard8@mozilla.com>
Wed, 07 Oct 2015 19:20:03 +0100
changeset 266365 f2f2d80d4ab461091d5d866db61b643048654a19
parent 266364 aa701b608df50fb39fb81261fc3d69f14cbbe299
child 266600 eb3424a2e2856a7a1302e28dcfabcee70773272b
push id15564
push usermbanner@mozilla.com
push dateWed, 07 Oct 2015 18:20:22 +0000
treeherderfx-team@f2f2d80d4ab4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
bugs1212272
milestone44.0a1
Bug 1212272 - 'make dist' for the Loop standalone doesn't update the css and supplementary files properly. r=dmose. NPOTB DONTBUILD
browser/components/loop/standalone/Makefile
--- a/browser/components/loop/standalone/Makefile
+++ b/browser/components/loop/standalone/Makefile
@@ -20,17 +20,18 @@ install: npm_install
 
 npm_install:
 	@npm install
 
 # build the dist dir, which contains a production version of the code and
 # assets
 .PHONY: dist
 dist:
-	cp -pr content dist
+	mkdir -p dist
+	cp -pR content dist
 	NODE_ENV="production" $(NODE_LOCAL_BIN)/webpack \
 		-p -v --display-errors
 	sed 's#webappEntryPoint.js#js/standalone.js#' \
 		< content/index.html > dist/index.html
 
 .PHONY: distclean
 distclean:
 	rm -fr dist