瀏覽代碼

meson: doxygen support wip

Alexandre Janniaux 5 年之前
父節點
當前提交
d974720665
共有 1 個文件被更改,包括 7 次插入1 次删除
  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