diff options
| -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) |
