diff --git a/docs/meson.build b/docs/meson.build index 1150f16d4..9e19158ae 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -1,21 +1,20 @@ scdoc = find_program('scdoc') -custom_target('man1', +man_1 = custom_target('man1', input : 'umu.1.scd', output : 'umu.1', command : [ scdoc ], feed : true, capture : true, - install : true, - install_dir : get_option('mandir'), ) -custom_target('man5', +man_5 = custom_target('man5', input : 'umu.5.scd', output : 'umu.5', command : [ scdoc ], feed : true, capture : true, - install : true, - install_dir : get_option('mandir'), -) \ No newline at end of file +) + +install_man(man_1.full_path()) +install_man(man_5.full_path())