[yocto] [PATCH 01/25] documentation/Makefile: Stop eclipse target workflow if generation fails.

mail at timomueller.eu mail at timomueller.eu
Thu Sep 20 06:38:05 PDT 2012


From: Timo Mueller <timo.mueller at bmw-carit.de>

---
 documentation/Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 0537c22..005d670 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -295,13 +295,13 @@ ifneq ($(DOC),adt-manual)
 	@echo "       User's Guide"
 	@echo " "
 else
-	cd $(DOC); \
+	cd $(DOC) && \
 		xsltproc $(XSLTOPTS) \
 				--stringparam base.dir '$(BASE_DIR)' \
 				-o eclipse/$(DOC).html \
-				$(DOC)-eclipse-customization.xsl $(DOC).xml; \
-		mv eclipse/toc.xml eclipse/$(DOC)-toc.xml; \
-		cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES); \
+				$(DOC)-eclipse-customization.xsl $(DOC).xml && \
+		mv eclipse/toc.xml eclipse/$(DOC)-toc.xml && \
+		cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES) && \
 		cd ..
 endif
 
-- 
1.7.7.6




More information about the yocto mailing list