docs_enabled = get_option('valadocs') valadoc = find_program('valadoc', required: docs_enabled) vala_doc_sources = vala_sources vala_doc_sources += lib_sources vala_doc_sources += config_data_file 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(), '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 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())) 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()))