From 813ea46e8a352198e6c22c3dc7f63457d9acddf8 Mon Sep 17 00:00:00 2001 From: Ioana Scurt Date: Fri, 24 Nov 2017 09:31:48 +0100 Subject: Added support for pdf download in eclipse Signed-off-by: Ioana Scurt --- doc/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 1946ee2..f5ab81f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,5 @@ #2017-03-27 Replaced poky autocloning for parameter extraction with XML file updated by the ELTF test system +#2017-11-24 Added support for pdf download in eclipse #Path to this subsystem's root directory SUBSYSROOT := $(shell pwd) @@ -186,6 +187,12 @@ books: init for book in $(BOOKPACKAGES); do \ for format in $(FORMAT); do \ $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ + if [ $$format = eclipse ]; then \ + if [ ! -f $$COMP/$$book.pdf ]; then \ + $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=pdf BOOK_VER="$$BOOKVER" books || exit 10; \ + fi; \ + cp $$COMP/$$book.pdf $$COMP/eclipse/plugins/com.enea.doc.book-*/. ; \ + fi ; \ done ; \ done ifeq ($(DOCBOOK_TO_BOOKDIR),yes) -- cgit v1.2.3-54-g00ecf