From 0f2c3bd45f96918c89cde62b3a51363584a196f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sun, 26 Apr 2015 21:51:37 +0200 Subject: [PATCH] Make host-examples target copy index.js --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47bd8f33dc..35e843a1f2 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ EXAMPLES := $(shell find examples -type f) EXAMPLES_HTML := $(filter-out examples/index.html,$(shell find examples -maxdepth 1 -type f -name '*.html')) EXAMPLES_JS := $(patsubst %.html,%.js,$(EXAMPLES_HTML)) -BUILD_EXAMPLES := $(subst examples,build/examples,$(EXAMPLES)) +BUILD_EXAMPLES := $(subst examples,build/examples,$(EXAMPLES)) build/examples/index.js BUILD_HOSTED := build/hosted/$(BRANCH) BUILD_HOSTED_EXAMPLES := $(addprefix $(BUILD_HOSTED)/,$(EXAMPLES)) @@ -151,6 +151,7 @@ host-examples: $(BUILD_HOSTED_EXAMPLES) \ $(BUILD_HOSTED)/build/ol-debug.js \ $(BUILD_HOSTED)/css/ol.css \ $(BUILD_HOSTED)/examples/loader.js \ + $(BUILD_HOSTED)/examples/index.js \ $(BUILD_HOSTED)/build/ol-deps.js .PHONY: host-libraries