mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Disable documentation generation with Autotools
This commit is contained in:
parent
2705f777ef
commit
397424e584
4 changed files with 69 additions and 112 deletions
|
|
@ -13,7 +13,7 @@ GITLOG=`cd $(top_srcdir) && git log -1 --pretty=format:%H configure.ac`
|
|||
|
||||
ECHO=/bin/echo
|
||||
|
||||
SUBDIRS=. help
|
||||
SUBDIRS=.
|
||||
|
||||
EXTRA_DIST=linphonecore_jni.cc $(GITVERSION_FILE)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,111 +1 @@
|
|||
|
||||
EXTRA_DIST=Doxyfile.in doxygen.dox
|
||||
|
||||
SOURCES=doxygen.dox $(top_srcdir)/coreapi/help/*.c $(top_srcdir)/coreapi/*.c $(top_srcdir)/coreapi/*.h
|
||||
|
||||
|
||||
# html doc
|
||||
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
|
||||
|
||||
$(doc_html_DATA): $(top_builddir)/coreapi/help/doc/html/index.html
|
||||
cd $(top_builddir)/coreapi/help/doc/html/ && tar cf html.tar *
|
||||
|
||||
$(top_builddir)/coreapi/help/doc/html/index.html: $(SOURCES) Doxyfile Makefile.am
|
||||
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
|
||||
|
||||
clean-local:
|
||||
rm -rf doc
|
||||
|
||||
#tutorials
|
||||
|
||||
if ENABLE_TUTORIALS
|
||||
|
||||
noinst_PROGRAMS=helloworld registration buddy_status chatroom notify filetransfer realtimetext_sender realtimetext_receiver
|
||||
|
||||
helloworld_SOURCES=helloworld.c
|
||||
LINPHONE_TUTOS=$(helloworld_SOURCES)
|
||||
|
||||
helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
|
||||
$(MEDIASTREAMER_LIBS) \
|
||||
$(ORTP_LIBS) \
|
||||
$(BELLESIP_LIBS)
|
||||
|
||||
registration_SOURCES=registration.c
|
||||
LINPHONE_TUTOS+=$(registration_SOURCES)
|
||||
|
||||
registration_LDADD=$(helloworld_LDADD)
|
||||
|
||||
buddy_status_SOURCES=buddy_status.c
|
||||
LINPHONE_TUTOS+=$(buddy_status_SOURCES)
|
||||
|
||||
buddy_status_LDADD=$(helloworld_LDADD)
|
||||
|
||||
chatroom_SOURCES=chatroom.c
|
||||
LINPHONE_TUTOS+=$(chatroom_SOURCES)
|
||||
|
||||
chatroom_LDADD=$(helloworld_LDADD)
|
||||
|
||||
notify_SOURCES=notify.c
|
||||
LINPHONE_TUTOS+=$(notify_SOURCES)
|
||||
|
||||
notify_LDADD=$(helloworld_LDADD)
|
||||
|
||||
filetransfer_SOURCES=filetransfer.c
|
||||
LINPHONE_TUTOS+=$(filetransfer_SOURCES)
|
||||
|
||||
filetransfer_LDADD=$(helloworld_LDADD)
|
||||
|
||||
realtimetext_sender_SOURCES=realtimetext_sender.c
|
||||
LINPHONE_TUTOS+=$(realtimetext_sender_SOURCES)
|
||||
|
||||
realtimetext_sender_LDADD=$(helloworld_LDADD)
|
||||
|
||||
realtimetext_receiver_SOURCES=realtimetext_receiver.c
|
||||
LINPHONE_TUTOS+=$(realtimetext_receiver_SOURCES)
|
||||
|
||||
realtimetext_receiver_LDADD=$(helloworld_LDADD)
|
||||
|
||||
AM_CFLAGS=\
|
||||
-I$(top_srcdir)/include \
|
||||
$(STRICT_OPTIONS) \
|
||||
$(STRICT_OPTIONS_CC) \
|
||||
$(ORTP_CFLAGS) \
|
||||
$(MEDIASTREAMER_CFLAGS) \
|
||||
-DENABLE_TRACE \
|
||||
-DLOG_DOMAIN=\"LinphoneCore\" \
|
||||
$(IPV6_CFLAGS) \
|
||||
-DORTP_INET6 \
|
||||
$(VIDEO_CFLAGS) \
|
||||
$(BELLESIP_CFLAGS)
|
||||
|
||||
|
||||
tutodir=$(datadir)/tutorials/linphone
|
||||
|
||||
tuto_DATA=$(LINPHONE_TUTOS)
|
||||
endif
|
||||
SUBDIRS=doc examples
|
||||
|
|
|
|||
66
coreapi/help/examples/C/Makefile.am
Normal file
66
coreapi/help/examples/C/Makefile.am
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
if ENABLE_TUTORIALS
|
||||
|
||||
noinst_PROGRAMS=helloworld registration buddy_status chatroom notify filetransfer realtimetext_sender realtimetext_receiver
|
||||
|
||||
helloworld_SOURCES=helloworld.c
|
||||
LINPHONE_TUTOS=$(helloworld_SOURCES)
|
||||
|
||||
helloworld_LDADD=$(top_builddir)/coreapi/liblinphone.la \
|
||||
$(MEDIASTREAMER_LIBS) \
|
||||
$(ORTP_LIBS) \
|
||||
$(BELLESIP_LIBS)
|
||||
|
||||
registration_SOURCES=registration.c
|
||||
LINPHONE_TUTOS+=$(registration_SOURCES)
|
||||
|
||||
registration_LDADD=$(helloworld_LDADD)
|
||||
|
||||
buddy_status_SOURCES=buddy_status.c
|
||||
LINPHONE_TUTOS+=$(buddy_status_SOURCES)
|
||||
|
||||
buddy_status_LDADD=$(helloworld_LDADD)
|
||||
|
||||
chatroom_SOURCES=chatroom.c
|
||||
LINPHONE_TUTOS+=$(chatroom_SOURCES)
|
||||
|
||||
chatroom_LDADD=$(helloworld_LDADD)
|
||||
|
||||
notify_SOURCES=notify.c
|
||||
LINPHONE_TUTOS+=$(notify_SOURCES)
|
||||
|
||||
notify_LDADD=$(helloworld_LDADD)
|
||||
|
||||
filetransfer_SOURCES=filetransfer.c
|
||||
LINPHONE_TUTOS+=$(filetransfer_SOURCES)
|
||||
|
||||
filetransfer_LDADD=$(helloworld_LDADD)
|
||||
|
||||
realtimetext_sender_SOURCES=realtimetext_sender.c
|
||||
LINPHONE_TUTOS+=$(realtimetext_sender_SOURCES)
|
||||
|
||||
realtimetext_sender_LDADD=$(helloworld_LDADD)
|
||||
|
||||
realtimetext_receiver_SOURCES=realtimetext_receiver.c
|
||||
LINPHONE_TUTOS+=$(realtimetext_receiver_SOURCES)
|
||||
|
||||
realtimetext_receiver_LDADD=$(helloworld_LDADD)
|
||||
|
||||
AM_CFLAGS=\
|
||||
-I$(top_srcdir)/include \
|
||||
$(STRICT_OPTIONS) \
|
||||
$(STRICT_OPTIONS_CC) \
|
||||
$(ORTP_CFLAGS) \
|
||||
$(MEDIASTREAMER_CFLAGS) \
|
||||
-DENABLE_TRACE \
|
||||
-DLOG_DOMAIN=\"LinphoneCore\" \
|
||||
$(IPV6_CFLAGS) \
|
||||
-DORTP_INET6 \
|
||||
$(VIDEO_CFLAGS) \
|
||||
$(BELLESIP_CFLAGS)
|
||||
|
||||
|
||||
tutodir=$(datadir)/tutorials/linphone
|
||||
|
||||
tuto_DATA=$(LINPHONE_TUTOS)
|
||||
endif
|
||||
|
||||
1
coreapi/help/examples/Makefile.am
Normal file
1
coreapi/help/examples/Makefile.am
Normal file
|
|
@ -0,0 +1 @@
|
|||
SUBDIRS=C
|
||||
Loading…
Add table
Reference in a new issue