doc: remove the DocBook protocol documentation, has been converted to Sphinx
This commit is contained in:
parent
68894e822a
commit
a2cd66ed6f
|
@ -15,33 +15,15 @@ sphinx_output = custom_target(
|
||||||
install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
|
install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
|
||||||
)
|
)
|
||||||
|
|
||||||
xmlto = find_program('xmlto')
|
|
||||||
xmlto_output = custom_target(
|
|
||||||
'Protocol documentation',
|
|
||||||
output: 'protocol',
|
|
||||||
input: 'protocol.xml',
|
|
||||||
command: [
|
|
||||||
xmlto, '-o', '@OUTPUT@',
|
|
||||||
'--stringparam=chunker.output.encoding=utf-8',
|
|
||||||
'html',
|
|
||||||
'--stringparam=use.id.as.filename=1',
|
|
||||||
'@INPUT@',
|
|
||||||
],
|
|
||||||
build_by_default: true,
|
|
||||||
install: true,
|
|
||||||
install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
|
|
||||||
)
|
|
||||||
|
|
||||||
custom_target(
|
custom_target(
|
||||||
'upload',
|
'upload',
|
||||||
input: [sphinx_output, xmlto_output],
|
input: sphinx_output,
|
||||||
output: 'upload',
|
output: 'upload',
|
||||||
build_always_stale: true,
|
build_always_stale: true,
|
||||||
command: [
|
command: [
|
||||||
'rsync', '-vpruz', '--delete', meson.current_build_dir() + '/',
|
'rsync', '-vpruz', '--delete', meson.current_build_dir() + '/',
|
||||||
'www.musicpd.org:/var/www/mpd/doc/',
|
'www.musicpd.org:/var/www/mpd/doc/',
|
||||||
'--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r',
|
'--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r',
|
||||||
'--include=protocol', '--include=protocol/**',
|
|
||||||
'--include=html', '--include=html/**',
|
'--include=html', '--include=html/**',
|
||||||
'--exclude=*',
|
'--exclude=*',
|
||||||
],
|
],
|
||||||
|
|
2938
doc/protocol.xml
2938
doc/protocol.xml
File diff suppressed because it is too large
Load Diff
|
@ -80,7 +80,7 @@ For example, the following installs a fairly complete list of build dependencies
|
||||||
libavahi-client-dev \
|
libavahi-client-dev \
|
||||||
libsqlite3-dev \
|
libsqlite3-dev \
|
||||||
libsystemd-dev libwrap0-dev \
|
libsystemd-dev libwrap0-dev \
|
||||||
libgtest-dev xmlto \
|
libgtest-dev \
|
||||||
libboost-dev \
|
libboost-dev \
|
||||||
libicu-dev
|
libicu-dev
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue