Commit 79492b82 authored by Canek Peláez's avatar Canek Peláez
Browse files

Build: Do not build HTML pages unless otherwise stated.

parent fd70609a
Loading
Loading
Loading
Loading
+19 −15
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ foreach page : pages
  mandir = join_paths(get_option('mandir'), 'man1')
  htmldir = join_paths(docdir, 'html')

  if want_man
    mp = custom_target(man,
                       input : xml,
                       output : man,
@@ -36,7 +37,9 @@ foreach page : pages
                       install : true,
                       install_dir : mandir )
    man_pages += [ mp ]
  endif

  if want_html
    hp = custom_target(html,
                       input : xml,
                       output : html,
@@ -44,6 +47,7 @@ foreach page : pages
                       install : true,
                       install_dir : htmldir )
    html_pages += [ hp ]
  endif

endforeach