diff options
author | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:43:32 +0100 |
---|---|---|
committer | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:43:32 +0100 |
commit | 119e5e4a5b8e9cfe33c0e10de43449ef6745a1f6 (patch) | |
tree | c3420d1447f71223be91502c5d767ae6c8fe91d6 | |
parent | 79861809aaeb1fbdaf90c21ac95cd794df2a6e3c (diff) | |
download | doc-enea-nfv-119e5e4a5b8e9cfe33c0e10de43449ef6745a1f6.tar.gz |
Added support for pdf download in eclipse
Signed-off-by: Ioana Scurt <iosc@sestofb10.enea.se>
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,4 @@ | |||
1 | #2017-11-24 Added support for pdf download in eclipse | ||
1 | #Path to this subsystem's root directory | 2 | #Path to this subsystem's root directory |
2 | SUBSYSROOT := $(shell pwd) | 3 | SUBSYSROOT := $(shell pwd) |
3 | 4 | ||
@@ -143,6 +144,12 @@ books: init | |||
143 | for book in $(BOOKPACKAGES); do \ | 144 | for book in $(BOOKPACKAGES); do \ |
144 | for format in $(FORMAT); do \ | 145 | for format in $(FORMAT); do \ |
145 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ | 146 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ |
147 | if [ $$format = eclipse ]; then \ | ||
148 | if [ ! -f $$COMP/$$book.pdf ]; then \ | ||
149 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=pdf BOOK_VER="$$BOOKVER" books || exit 10; \ | ||
150 | fi; \ | ||
151 | cp $$COMP/$$book.pdf $$COMP/eclipse/plugins/com.enea.doc.book-*/. ; \ | ||
152 | fi ; \ | ||
146 | done ; \ | 153 | done ; \ |
147 | done | 154 | done |
148 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) | 155 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) |