diff options
| author | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:31:48 +0100 |
|---|---|---|
| committer | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:31:48 +0100 |
| commit | 813ea46e8a352198e6c22c3dc7f63457d9acddf8 (patch) | |
| tree | 572e25583b1c37e8ede9db050315f61935510a0a /doc | |
| parent | 42ab6d5aad645aa3d3641f8fb334b56cd6180a29 (diff) | |
| download | el_releases-networking-813ea46e8a352198e6c22c3dc7f63457d9acddf8.tar.gz | |
Added support for pdf download in eclipse
Signed-off-by: Ioana Scurt <iosc@sestofb10.enea.se>
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) |
