[gvfs] Revert "build: Simplify man file building"
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Revert "build: Simplify man file building"
- Date: Mon, 7 Jan 2019 16:47:32 +0000 (UTC)
commit 925dee4cecda47b204cfe21f122f3fcf39018007
Author: Ondrej Holy <oholy redhat com>
Date: Mon Jan 7 17:44:07 2019 +0100
Revert "build: Simplify man file building"
This reverts commit 7aaada6e723122c705ac5a5dc638e18b8f8ddd36.
man/meson.build | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/man/meson.build b/man/meson.build
index a333194a..063920a8 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -15,19 +15,33 @@ xsltproc_cmd = [
]
mans = [
- ['gvfs', '7'],
- ['gvfsd', '1'],
- ['gvfsd-fuse', '1'],
- ['gvfsd-metadata', '1'],
+ 'gvfsd',
+ 'gvfsd-fuse',
+ 'gvfsd-metadata',
]
foreach man: mans
+ xml = man + '.xml'
+ output = man + '.1'
+
custom_target(
- man[0] + man[1],
- input: man[0] + '.xml',
- output: '@BASENAME@.' + man[1],
+ output,
+ input: xml,
+ output: output,
command: xsltproc_cmd,
install: true,
- install_dir: gvfs_mandir / ('man' + man[1]),
+ install_dir: gvfs_mandir / 'man1',
)
endforeach
+
+man = 'gvfs'
+output = man + '.7'
+
+custom_target(
+ output,
+ input: man + '.xml',
+ output: output,
+ command: xsltproc_cmd,
+ install: true,
+ install_dir: gvfs_mandir / 'man7',
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]