diff --git a/doc/meson.build b/doc/meson.build new file mode 100644 index 000000000..5ad9ecd7a --- /dev/null +++ b/doc/meson.build @@ -0,0 +1,17 @@ +configure_file(input : 'Doxyfile.in', + output : 'Doxyfile', + configuration : conf_data) + +pod2html = find_program('pod2html', required: false) + +if pod2html.found() + custom_target('perl.html', + input: ['perl.pod'], + output: ['perl.html'], + command: [pod2html, '--outfile=@OUTPUT@', '--infile=@INPUT@']) + + custom_target('perl-hooks.html', + input: ['../contrib/perl/hooks.pl'], + output: ['perl-hooks.html'], + command: [pod2html, '--outfile=@OUTPUT@', '--infile=@INPUT@']) +endif diff --git a/meson.build b/meson.build index 840ede633..902103383 100644 --- a/meson.build +++ b/meson.build @@ -707,4 +707,4 @@ configure_file(input : 'config2.h.in', subdir('po') subdir('src') subdir('contrib') -#subdir('doc') +subdir('doc')