mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-30 03:26:23 -04:00
[meson] Build manual.html-chunked
This commit is contained in:
parent
ea35e1f3e6
commit
76fe703cba
@ -165,30 +165,6 @@ elinkskeys_5_xml = custom_target('elinkskeys.5.xml',
|
|||||||
'-d', 'manpage',
|
'-d', 'manpage',
|
||||||
'--unsafe', '-o', '@OUTPUT@', '@INPUT@'])
|
'--unsafe', '-o', '@OUTPUT@', '@INPUT@'])
|
||||||
|
|
||||||
elinks_1 = []
|
|
||||||
elinks_conf_5 = []
|
|
||||||
elinkskeys_5 = []
|
|
||||||
|
|
||||||
if xmlto.found()
|
|
||||||
elinks_1 = custom_target('elinks.1',
|
|
||||||
input: [],
|
|
||||||
output: 'elinks.1',
|
|
||||||
depends: elinks_1_xml,
|
|
||||||
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinks.1.xml'])
|
|
||||||
|
|
||||||
elinks_conf_5 = custom_target('elinks.conf.5',
|
|
||||||
input: [],
|
|
||||||
output: 'elinks.conf.5',
|
|
||||||
depends: elinks_conf_5_xml,
|
|
||||||
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinks.conf.5.xml'])
|
|
||||||
|
|
||||||
elinkskeys_5 = custom_target('elinkskeys.5',
|
|
||||||
input: [],
|
|
||||||
output: 'elinkskeys.5',
|
|
||||||
depends: elinkskeys_5_xml,
|
|
||||||
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinkskeys.5.xml'])
|
|
||||||
endif
|
|
||||||
|
|
||||||
hacking_xml = custom_target('hacking.xml',
|
hacking_xml = custom_target('hacking.xml',
|
||||||
input: 'hacking.txt',
|
input: 'hacking.txt',
|
||||||
output: 'hacking.xml',
|
output: 'hacking.xml',
|
||||||
@ -214,6 +190,37 @@ manual_xml = custom_target('manual.xml',
|
|||||||
'-b', 'docbook',
|
'-b', 'docbook',
|
||||||
'--unsafe', '-o', '@OUTPUT@', '@INPUT@'])
|
'--unsafe', '-o', '@OUTPUT@', '@INPUT@'])
|
||||||
|
|
||||||
|
elinks_1 = []
|
||||||
|
elinks_conf_5 = []
|
||||||
|
elinkskeys_5 = []
|
||||||
|
manual_html_chunked = []
|
||||||
|
|
||||||
|
if xmlto.found()
|
||||||
|
elinks_1 = custom_target('elinks.1',
|
||||||
|
input: [],
|
||||||
|
output: 'elinks.1',
|
||||||
|
depends: elinks_1_xml,
|
||||||
|
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinks.1.xml'])
|
||||||
|
|
||||||
|
elinks_conf_5 = custom_target('elinks.conf.5',
|
||||||
|
input: [],
|
||||||
|
output: 'elinks.conf.5',
|
||||||
|
depends: elinks_conf_5_xml,
|
||||||
|
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinks.conf.5.xml'])
|
||||||
|
|
||||||
|
elinkskeys_5 = custom_target('elinkskeys.5',
|
||||||
|
input: [],
|
||||||
|
output: 'elinkskeys.5',
|
||||||
|
depends: elinkskeys_5_xml,
|
||||||
|
command: [xmlto, '-o', meson.current_build_dir(), 'man', meson.current_build_dir()+'/elinkskeys.5.xml'])
|
||||||
|
|
||||||
|
manual_html_chunked = custom_target('manual.html-chunked',
|
||||||
|
input: [],
|
||||||
|
output: 'manual.html-chunked',
|
||||||
|
depends: manual_xml,
|
||||||
|
command: [xmlto, '-o', meson.current_build_dir() + '/manual.html-chunked', 'html', meson.current_build_dir()+'/manual.xml'])
|
||||||
|
endif
|
||||||
|
|
||||||
manual_pdf = []
|
manual_pdf = []
|
||||||
|
|
||||||
if dblatex.found()
|
if dblatex.found()
|
||||||
@ -227,6 +234,7 @@ endif
|
|||||||
txt = alias_target('txt', features_txt, keymap_actions_txt, keymap_defaults_txt)
|
txt = alias_target('txt', features_txt, keymap_actions_txt, keymap_defaults_txt)
|
||||||
alias_target('xml', option_command_frag_xml, option_config_frag_xml, option_command_frag_xhtml, option_config_frag_xhtml,
|
alias_target('xml', option_command_frag_xml, option_config_frag_xml, option_command_frag_xhtml, option_config_frag_xhtml,
|
||||||
elinks_1_xml, elinks_conf_5_xml, elinkskeys_5_xml, hacking_xml, manual_xml)
|
elinks_1_xml, elinks_conf_5_xml, elinkskeys_5_xml, hacking_xml, manual_xml)
|
||||||
alias_target('html', perl_html, perl_hooks_html, elinks_1_html, elinks_conf_5_html, elinkskeys_5_html, hacking_html, manual_html)
|
alias_target('html', perl_html, perl_hooks_html, elinks_1_html, elinks_conf_5_html, elinkskeys_5_html, hacking_html, manual_html,
|
||||||
|
manual_html_chunked)
|
||||||
alias_target('pdf', manual_xml, manual_pdf)
|
alias_target('pdf', manual_xml, manual_pdf)
|
||||||
alias_target('man', elinks_1, elinks_conf_5, elinkskeys_5)
|
alias_target('man', elinks_1, elinks_conf_5, elinkskeys_5)
|
||||||
|
Loading…
Reference in New Issue
Block a user