summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build16
1 files changed, 14 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 810780b..a9af71d 100644
--- a/meson.build
+++ b/meson.build
@@ -140,11 +140,11 @@ if scdoc.found()
sed = find_program('sed')
sh = find_program('sh')
mandir = get_option('mandir')
- manpage = 'doc/tofi.1.scd'
+
output = 'tofi.1'
custom_target(
output,
- input: manpage,
+ input: 'doc/tofi.1.scd',
output: output,
command: [
sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc.path(), output)
@@ -152,4 +152,16 @@ if scdoc.found()
install: true,
install_dir: '@0@/man1'.format(mandir)
)
+
+ output = 'tofi.5'
+ custom_target(
+ output,
+ input: 'doc/tofi.5.scd',
+ output: output,
+ command: [
+ sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc.path(), output)
+ ],
+ install: true,
+ install_dir: '@0@/man5'.format(mandir)
+ )
endif