Explorar o código

meson: doxygen support wip

Alexandre Janniaux %!s(int64=5) %!d(string=hai) anos
pai
achega
d974720665
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      meson.build

+ 7 - 1
meson.build

@@ -194,7 +194,13 @@ if doxygen.found()
     output: 'Doxyfile',
     configuration: doxygen_data,
     install: false)
-  run_target('doc', command: [doxygen, doxyfile])
+  doc_dir = join_paths(get_option('datadir'), 'doc', 'libdsm')
+  run_target('doc',
+             command: [doxygen, doxyfile],
+             input: doxyfile,
+             output: 'html',
+             install: true,
+             install_dir: doc_dir)
 else
   warning('Doxygen not found - continuing without Doxygen support')
 endif