summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIoana Scurt <iosc@sestofb10.enea.se>2017-11-24 09:43:32 +0100
committerIoana Scurt <iosc@sestofb10.enea.se>2017-11-24 09:43:32 +0100
commit119e5e4a5b8e9cfe33c0e10de43449ef6745a1f6 (patch)
treec3420d1447f71223be91502c5d767ae6c8fe91d6
parent79861809aaeb1fbdaf90c21ac95cd794df2a6e3c (diff)
downloaddoc-enea-nfv-119e5e4a5b8e9cfe33c0e10de43449ef6745a1f6.tar.gz
Added support for pdf download in eclipse
Signed-off-by: Ioana Scurt <iosc@sestofb10.enea.se>
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 52d72c2..b09454b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
2SUBSYSROOT := $(shell pwd) 3SUBSYSROOT := $(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
148ifeq ($(DOCBOOK_TO_BOOKDIR),yes) 155ifeq ($(DOCBOOK_TO_BOOKDIR),yes)