forked from mirrors/linphone-iphone
install xml documentation generated by doxygen
This commit is contained in:
parent
2f17787d93
commit
532f40dae9
1 changed files with 11 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ if HAVE_DOXYGEN
|
|||
# docdir & pkgdocdir are not always defined by automake
|
||||
pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
|
||||
doc_htmldir=$(pkgdocdir)/html
|
||||
doc_xmldir=$(pkgdocdir)/xml
|
||||
|
||||
doc_html_DATA = $(top_builddir)/coreapi/help/doc/html/html.tar
|
||||
|
||||
|
|
@ -20,11 +21,21 @@ $(top_builddir)/coreapi/help/doc/html/index.html: $(SOURCES) Doxyfile Makefile.a
|
|||
rm -rf doc
|
||||
$(DOXYGEN) Doxyfile
|
||||
|
||||
doc_xml_DATA = $(top_builddir)/coreapi/help/doc/xml/xml.tar
|
||||
|
||||
$(doc_xml_DATA): $(top_builddir)/coreapi/help/doc/xml/index.xml
|
||||
cd $(top_builddir)/coreapi/help/doc/xml/ && tar cf xml.tar *
|
||||
|
||||
$(top_builddir)/coreapi/help/doc/xml/index.xml: $(top_builddir)/coreapi/help/doc/html/index.html
|
||||
|
||||
|
||||
install-data-hook:
|
||||
cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar && rm -f html.tar
|
||||
cd $(DESTDIR)$(doc_xmldir) && tar xf xml.tar && rm -f xml.tar
|
||||
|
||||
uninstall-hook:
|
||||
cd $(DESTDIR)$(doc_htmldir) && rm -f *
|
||||
cd $(DESTDIR)$(doc_xmldir) && rm -f *
|
||||
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue