diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile index 1946ee2..f5ab81f 100644 --- a/doc/Makefile +++ b/doc/Makefile | |||
@@ -1,4 +1,5 @@ | |||
1 | #2017-03-27 Replaced poky autocloning for parameter extraction with XML file updated by the ELTF test system | 1 | #2017-03-27 Replaced poky autocloning for parameter extraction with XML file updated by the ELTF test system |
2 | #2017-11-24 Added support for pdf download in eclipse | ||
2 | 3 | ||
3 | #Path to this subsystem's root directory | 4 | #Path to this subsystem's root directory |
4 | SUBSYSROOT := $(shell pwd) | 5 | SUBSYSROOT := $(shell pwd) |
@@ -186,6 +187,12 @@ books: init | |||
186 | for book in $(BOOKPACKAGES); do \ | 187 | for book in $(BOOKPACKAGES); do \ |
187 | for format in $(FORMAT); do \ | 188 | for format in $(FORMAT); do \ |
188 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ | 189 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ |
190 | if [ $$format = eclipse ]; then \ | ||
191 | if [ ! -f $$COMP/$$book.pdf ]; then \ | ||
192 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=pdf BOOK_VER="$$BOOKVER" books || exit 10; \ | ||
193 | fi; \ | ||
194 | cp $$COMP/$$book.pdf $$COMP/eclipse/plugins/com.enea.doc.book-*/. ; \ | ||
195 | fi ; \ | ||
189 | done ; \ | 196 | done ; \ |
190 | done | 197 | done |
191 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) | 198 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) |