Add XMLDOC option to control installation of XML documentation.

This is on by default, which prodiuces the same behavior as before.

PR:		249531
Submitted by:	Dmitry Wagin <dmitry.wagin@ya.ru>
This commit is contained in:
Guido Falsi 2020-10-04 11:26:44 +00:00
parent 680be28058
commit 97fe9fcc2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551384
2 changed files with 10 additions and 7 deletions

View File

@ -62,10 +62,10 @@ CONFLICTS_INSTALL= asterisk16
OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA \
MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \
SPANDSP SRTP SYSINFO URIPARSER XMPP
SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP
OPTIONS_DEFAULT= CURL FREETDS GSM LUA MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL PJSIP \
PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \
VORBIS
VORBIS XMLDOC
OPTIONS_DEFINE_i386= DAHDI
OPTIONS_DEFINE_amd64= DAHDI
@ -107,6 +107,7 @@ PJSIP_DESC?= Build the PJSIP based SIP channel
SRTP_DESC?= SecureRTP support
SYSINFO_DESC?= Use devel/libsysinfo to get system information
URIPARSER_DESC?= Use RFC 3986 compliant uriparser library
XMLDOC_DESC?= Build and install XML documentation
XMPP_DESC?= XMPP/GTALK support
OPTIONS_SUB= yes
@ -199,6 +200,8 @@ VORBIS_CONFIGURE_WITH= ogg
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
XMLDOC_CONFIGURE_ENABLE= xmldoc
XMPP_CONFIGURE_WITH= iksemel
XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel

View File

@ -342,9 +342,9 @@ sbin/safe_asterisk
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
%%DATADIR%%/agi-bin/jukebox.agi
%%DATADIR%%/documentation/appdocsxml.dtd
%%DATADIR%%/documentation/appdocsxml.xslt
%%DATADIR%%/documentation/core-en_US.xml
%%XMLDOC%%%%DATADIR%%/documentation/appdocsxml.dtd
%%XMLDOC%%%%DATADIR%%/documentation/appdocsxml.xslt
%%XMLDOC%%%%DATADIR%%/documentation/core-en_US.xml
%%DATADIR%%/phoneprov/000000000000-directory.xml
%%DATADIR%%/phoneprov/000000000000-phone.cfg
%%DATADIR%%/phoneprov/000000000000.cfg
@ -366,11 +366,11 @@ sbin/safe_asterisk
%%DATADIR%%/scripts/ast_coredumper
%%DATADIR%%/scripts/ast_logescalator
%%DATADIR%%/scripts/ast_loggrabber
%%DATADIR%%/static-http/appdocsxml.xslt
%%XMLDOC%%%%DATADIR%%/static-http/appdocsxml.xslt
%%DATADIR%%/static-http/ajamdemo.html
%%DATADIR%%/static-http/astman.css
%%DATADIR%%/static-http/astman.js
%%DATADIR%%/static-http/core-en_US.xml
%%XMLDOC%%%%DATADIR%%/static-http/core-en_US.xml
%%DATADIR%%/static-http/prototype.js
%%DATADIR%%/static-http/mantest.html
%%DOCSDIR%%/images/asterisk-intro.jpg