changeset 10:be25709c3ecd draft

Fix in Makefile: make sure the report dir is created when the first report is generated.
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Mon, 16 Jul 2012 16:16:03 +0200
parents d78d71a7859b
children 581695c2fab3
files ChangeLog Makefile
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jul 09 12:14:59 2012 +0200
+++ b/ChangeLog	Mon Jul 16 16:16:03 2012 +0200
@@ -1,3 +1,8 @@
+2012-07-16  Pavel Tisnovsky  <ptisnovs@redhat.com>
+
+	* Makefile: Make sure the report dir is created when
+	the first report is generated.
+
 2012-07-09  Pavel Tisnovsky  <ptisnovs@redhat.com>
 
 	* src/org/RhinoTests/Reporter/GraphPagesGenerator.java:
--- a/Makefile	Mon Jul 09 12:14:59 2012 +0200
+++ b/Makefile	Mon Jul 16 16:16:03 2012 +0200
@@ -112,6 +112,7 @@
 	done
 
 report:	$(ALL_CLASSES)
+	mkdir $(REPORT_DIR)
 	cp -u $(TEMPLATE_DIR)/style.css $(REPORT_DIR)/style.css
 	$(JAVA) -cp $(BUILD_DIR) org.RhinoTests.Reporter.Reporter -template-dir=$(TEMPLATE_DIR) -log-dir=$(LOGS_DIR) -report-dir=$(REPORT_DIR) -date=$(DATE) -tests="$(TESTS)"