1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] doc/perl.html and doc/perl-hooks.html custom targets

This commit is contained in:
Witold Filipczyk 2020-09-21 17:57:40 +02:00
parent 3f8de99828
commit 0f59f669ac
2 changed files with 18 additions and 1 deletions

17
doc/meson.build Normal file
View File

@ -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

View File

@ -707,4 +707,4 @@ configure_file(input : 'config2.h.in',
subdir('po')
subdir('src')
subdir('contrib')
#subdir('doc')
subdir('doc')