2018-11-01 21:52:30 -03:00
|
|
|
docs_enabled = get_option('valadocs')
|
|
|
|
valadoc = find_program('valadoc', required: docs_enabled)
|
|
|
|
vala_doc_sources = vala_sources
|
2019-01-03 19:47:43 -03:00
|
|
|
vala_doc_sources += lib_sources
|
2018-11-01 21:52:30 -03:00
|
|
|
if docs_enabled
|
|
|
|
valadocs_deps = get_option('valadocs_deps')
|
|
|
|
docs_deps = ['--pkg=gtk+-3.0']
|
|
|
|
docs_deps += ['--pkg=libpq']
|
|
|
|
docs_deps += ['--pkg=posix']
|
|
|
|
if valadocs_deps
|
|
|
|
docs_deps += ['--deps']
|
|
|
|
endif
|
|
|
|
custom_target('valadoc',
|
|
|
|
input: vala_doc_sources,
|
|
|
|
output: 'valadoc',
|
|
|
|
command: [ valadoc,
|
|
|
|
docs_deps,
|
|
|
|
'--use-svg-images',
|
|
|
|
'--doclet=html',
|
|
|
|
'--force',
|
|
|
|
'--package-name=@0@'.format(meson.project_name()),
|
|
|
|
'--package-version=@0@'.format(meson.project_version()),
|
|
|
|
'--vapidir=@0@'.format(join_paths(meson.source_root(), 'src/vapi')),
|
|
|
|
'--directory=@OUTDIR@/valadoc',
|
|
|
|
vala_doc_sources,
|
|
|
|
],
|
|
|
|
build_by_default: true,
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name())
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2019-01-03 19:47:43 -03:00
|
|
|
install_data('Enunciados/trabajoSemestral(E1).pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Enunciados/trabajoSemestral(E2).pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Enunciados/trabajoSemestral(E3).pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/Informe1.pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/Informe1corregido.pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/Informe2.pdf', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/MER.dia', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/MER.png', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/MERcorregido.dia', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('Informes/MERcorregido.png', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
2018-11-01 21:52:30 -03:00
|
|
|
install_data('../LICENSE', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|
|
|
|
install_data('../README.md', install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()))
|