diff options
author | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:29:00 +0100 |
---|---|---|
committer | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:29:00 +0100 |
commit | 98bf893de51de8021517fb449d8e0d5a05e6c28b (patch) | |
tree | b96948490a8adc49f44e548eb7dc657bd34cd781 | |
parent | 8784a590c7907439db86e37f1513162c215279ee (diff) | |
download | el_releases-standard-98bf893de51de8021517fb449d8e0d5a05e6c28b.tar.gz |
Added support for pdf download in eclipse
Signed-off-by: Ioana Scurt <iosc@sestofb10.enea.se>
-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) |