index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-01-13 22:55:00 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-16 11:22:48 +1000 |
commit | a5090217f9ef3961153442577e8632310f79a272 (patch) | |
tree | 66055d9a5681a62c5aecacd5845a1d87d3f68f08 | |
parent | 10bcf66db8dffbadd6f051acba3b543693819eff (diff) |
-rw-r--r-- | doc/meson.build | 17 |
diff --git a/doc/meson.build b/doc/meson.build index 7c9631cb..b7514ef7 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -14,6 +14,13 @@ manpages = [ { 'name': 'BUILDINFO.5' }, ] +sitepages = [ + { 'name': 'submitting-patches' }, + { 'name': 'translation-help' }, + { 'name': 'HACKING', 'source': '../HACKING' }, + { 'name': 'index' }, +] + asciidoc_conf = join_paths(meson.current_source_dir(), 'asciidoc.conf') asciidoc_opts = [ @@ -58,6 +65,12 @@ foreach page : manpages install : true, install_dir : mandirn, ) +endforeach + +foreach page: manpages + sitepages + manpage = page['name'] + htmlpage = '@0@.html'.format(manpage) + input = page.get('source', '@0@.asciidoc'.format(manpage)) html = custom_target( htmlpage, @@ -96,10 +109,6 @@ custom_target( '-C', meson.current_build_dir(), ] + html_files + [ '-C', meson.current_source_dir(), - 'submitting-patches.html', - 'translation-help.html', - 'HACKING.html', - 'index.html', 'asciidoc-override.css', '-C', '/etc/asciidoc/stylesheets/', 'asciidoc.css', |