mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: docs: introduce docs directory
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
50a7a11b7b
commit
c4fbc69491
@ -16,8 +16,6 @@
|
|||||||
## License along with this library. If not, see
|
## License along with this library. If not, see
|
||||||
## <http://www.gnu.org/licenses/>.
|
## <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
HTML_DIR = $(docdir)/html
|
|
||||||
|
|
||||||
modules = \
|
modules = \
|
||||||
libvirt-common \
|
libvirt-common \
|
||||||
libvirt-domain \
|
libvirt-domain \
|
||||||
@ -140,33 +138,6 @@ logofiles = \
|
|||||||
logofilesdir = $(HTML_DIR)/logos
|
logofilesdir = $(HTML_DIR)/logos
|
||||||
logofiles_DATA = $(logofiles)
|
logofiles_DATA = $(logofiles)
|
||||||
|
|
||||||
assets = \
|
|
||||||
android-chrome-192x192.png \
|
|
||||||
android-chrome-256x256.png \
|
|
||||||
apple-touch-icon.png \
|
|
||||||
architecture.gif \
|
|
||||||
browserconfig.xml \
|
|
||||||
favicon.ico \
|
|
||||||
favicon-16x16.png \
|
|
||||||
favicon-32x32.png \
|
|
||||||
generic.css \
|
|
||||||
libvirt.css \
|
|
||||||
libvirt-daemon-arch.png \
|
|
||||||
libvirt-driver-arch.png \
|
|
||||||
libvirt-object-model.png \
|
|
||||||
libvirt-virConnect-example.png \
|
|
||||||
main.css \
|
|
||||||
manifest.json \
|
|
||||||
migration-managed-direct.png \
|
|
||||||
migration-managed-p2p.png \
|
|
||||||
migration-native.png \
|
|
||||||
migration-tunnel.png \
|
|
||||||
migration-unmanaged-direct.png \
|
|
||||||
mobile.css \
|
|
||||||
mstile-150x150.png \
|
|
||||||
node.gif \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
internals_html_in = \
|
internals_html_in = \
|
||||||
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
|
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
|
||||||
internals_rst = \
|
internals_rst = \
|
||||||
@ -324,7 +295,7 @@ dot_html = \
|
|||||||
$(dot_rst_html_in:%.html.in=%.html)
|
$(dot_rst_html_in:%.html.in=%.html)
|
||||||
|
|
||||||
htmldir = $(HTML_DIR)
|
htmldir = $(HTML_DIR)
|
||||||
html_DATA = $(assets) $(dot_html)
|
html_DATA = $(dot_html)
|
||||||
|
|
||||||
apidir = $(pkgdatadir)/api
|
apidir = $(pkgdatadir)/api
|
||||||
api_DATA = \
|
api_DATA = \
|
||||||
|
30
docs/meson.build
Normal file
30
docs/meson.build
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
docs_html_dir = docdir / 'html'
|
||||||
|
|
||||||
|
docs_assets = [
|
||||||
|
'android-chrome-192x192.png',
|
||||||
|
'android-chrome-256x256.png',
|
||||||
|
'apple-touch-icon.png',
|
||||||
|
'architecture.gif',
|
||||||
|
'browserconfig.xml',
|
||||||
|
'favicon.ico',
|
||||||
|
'favicon-16x16.png',
|
||||||
|
'favicon-32x32.png',
|
||||||
|
'generic.css',
|
||||||
|
'libvirt.css',
|
||||||
|
'libvirt-daemon-arch.png',
|
||||||
|
'libvirt-driver-arch.png',
|
||||||
|
'libvirt-object-model.png',
|
||||||
|
'libvirt-virConnect-example.png',
|
||||||
|
'main.css',
|
||||||
|
'manifest.json',
|
||||||
|
'migration-managed-direct.png',
|
||||||
|
'migration-managed-p2p.png',
|
||||||
|
'migration-native.png',
|
||||||
|
'migration-tunnel.png',
|
||||||
|
'migration-unmanaged-direct.png',
|
||||||
|
'mobile.css',
|
||||||
|
'mstile-150x150.png',
|
||||||
|
'node.gif',
|
||||||
|
]
|
||||||
|
|
||||||
|
install_data(docs_assets, install_dir: docs_html_dir)
|
@ -2231,6 +2231,8 @@ subdir('examples')
|
|||||||
|
|
||||||
subdir('po')
|
subdir('po')
|
||||||
|
|
||||||
|
subdir('docs')
|
||||||
|
|
||||||
|
|
||||||
# generate meson-config.h file
|
# generate meson-config.h file
|
||||||
configure_file(output: 'meson-config.h', configuration: conf)
|
configure_file(output: 'meson-config.h', configuration: conf)
|
||||||
|
Loading…
Reference in New Issue
Block a user