summaryrefslogtreecommitdiff
path: root/doc/pjsip-book/Makefile
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2014-02-27 11:48:34 +0000
committerBenny Prijono <bennylp@teluu.com>2014-02-27 11:48:34 +0000
commit4f25cc42af6561d0b9a759526a6ea97499edb8ae (patch)
treea7da287f13e5e822ac380944abbe9171d1fc8ade /doc/pjsip-book/Makefile
parentc594cca117f6da4e0217ed52a39458782b198a7d (diff)
Re #1742 (misc): Updated latest pjsip-book and added make install target to install the book to WWWDIR
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4772 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'doc/pjsip-book/Makefile')
-rw-r--r--doc/pjsip-book/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/pjsip-book/Makefile b/doc/pjsip-book/Makefile
index 9f5bc222..696410e2 100644
--- a/doc/pjsip-book/Makefile
+++ b/doc/pjsip-book/Makefile
@@ -45,6 +45,16 @@ clean:
-rm -rf xml
-rm -rf html
+install:
+ @if test -z "$(WWWDIR)" ; then \
+ echo WWWDIR is not set; \
+ else \
+ echo Copying html dir to $(WWWDIR)/docs/book-latest/..; \
+ cp -a -f _build/html $(WWWDIR)/docs/book-latest/; \
+ echo Copying PJSUA2Doc.pdf to $(WWWDIR)/docs/book-latest/..; \
+ cp -f _build/latex/PJSUA2Doc.pdf $(WWWDIR)/docs/book-latest/; \
+ fi
+
xml: Doxyfile ../../pjsip/include/pjsua2
doxygen