aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'man/meson.build')
-rw-r--r--man/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/meson.build b/man/meson.build
index 09ac0d5..c6982d2 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -19,7 +19,7 @@ fs = import('fs')
out_pages = []
generated_man_pages_exist = true
foreach page : pages
- man_page_name = page.replace('.docbook', '.1')
+ man_page_name = page.split('.')[0] + '.1'
out_pages += man_page_name
if not fs.exists(man_page_name)
generated_man_pages_exist = false