diff options
author | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:40:38 +0100 |
---|---|---|
committer | Ioana Scurt <iosc@sestofb10.enea.se> | 2017-11-24 09:40:38 +0100 |
commit | 9b47b9d503b59752a1cf04f3aae6bd25c296fd81 (patch) | |
tree | e062d4ed09a7ed723d7dafb048dc4821d78171fc | |
parent | d9ef1de3231f3600416c868c0fbed484a081c7b7 (diff) | |
download | nfv-access-documentation-9b47b9d503b59752a1cf04f3aae6bd25c296fd81.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 a7acbfe..f1fc875 100644 --- a/doc/Makefile +++ b/doc/Makefile | |||
@@ -1,6 +1,7 @@ | |||
1 | #2017-10-11 Adding new OSRs and updated target info. | 1 | #2017-10-11 Adding new OSRs and updated target info. |
2 | #2017-06-29 Converted EL7 virtualization profile to first version of ENFV Access | 2 | #2017-06-29 Converted EL7 virtualization profile to first version of ENFV Access |
3 | #2017-04-13 Created first version of virtualization profile | 3 | #2017-04-13 Created first version of virtualization profile |
4 | #2017-11-24 Added support for pdf download in eclipse | ||
4 | 5 | ||
5 | #Path to this subsystem's root directory | 6 | #Path to this subsystem's root directory |
6 | SUBSYSROOT := $(shell pwd) | 7 | SUBSYSROOT := $(shell pwd) |
@@ -188,6 +189,12 @@ books: init | |||
188 | for book in $(BOOKPACKAGES); do \ | 189 | for book in $(BOOKPACKAGES); do \ |
189 | for format in $(FORMAT); do \ | 190 | for format in $(FORMAT); do \ |
190 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ | 191 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=$$format BOOK_VER="$$BOOKVER" books || exit 10; \ |
192 | if [ $$format = eclipse ]; then \ | ||
193 | if [ ! -f $$COMP/$$book.pdf ]; then \ | ||
194 | $(MAKE) -f $(DOCBOOKMAKE)/make_docbook_standalone.mk BOOK=$$book FORMAT=pdf BOOK_VER="$$BOOKVER" books || exit 10; \ | ||
195 | fi; \ | ||
196 | cp $$COMP/$$book.pdf $$COMP/eclipse/plugins/com.enea.doc.book-*/. ; \ | ||
197 | fi ; \ | ||
191 | done ; \ | 198 | done ; \ |
192 | done | 199 | done |
193 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) | 200 | ifeq ($(DOCBOOK_TO_BOOKDIR),yes) |