Skip to content
GitLab
Explore
Sign in
Commit
d9be7312
authored
7 years ago
by
Canek Peláez Valdés
Browse files
Options
Downloads
Patches
Plain Diff
Clean up man pages and use meson style options.
parent
f3668887
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
man/meson.build
+8
-8
8 additions, 8 deletions
man/meson.build
meson.build
+10
-5
10 additions, 5 deletions
meson.build
meson_options.txt
+3
-3
3 additions, 3 deletions
meson_options.txt
with
21 additions
and
16 deletions
man/meson.build
+
8
−
8
View file @
d9be7312
if
xsltproc
.
found
()
and
get_option
(
'
en
able
-
doc'
)
if
xsltproc
.
found
()
and
not
get_option
(
'
dis
able
_
doc'
)
customman
=
files
(
'custom-man.xsl'
)
customhtml
=
files
(
'custom-html.xsl'
)
...
...
@@ -15,33 +15,33 @@ if xsltproc.found() and get_option('enable-doc')
command
=
[
xsltproc
,
'-o'
,
'@OUTPUT@'
]
+
flags
man
pages
=
[
'analyze'
,
'copy-tags'
,
'tags'
]
pages
=
[
'analyze'
,
'copy-tags'
,
'tags'
]
man_pages
=
[]
html_pages
=
[]
foreach
man
page
:
man
pages
stem
=
'mlm-'
+
man
page
foreach
page
:
pages
stem
=
'mlm-'
+
page
xml
=
stem
+
'.xml'
html
=
stem
+
'.html'
man
=
stem
+
'.1'
mandir
=
join_paths
(
get_option
(
'mandir'
),
'man1'
)
htmldir
=
join_paths
(
docdir
,
'html'
)
p
1
=
custom_target
(
man
,
m
p
=
custom_target
(
man
,
input
:
xml
,
output
:
man
,
command
:
command
+
[
customman
,
'@INPUT@'
],
install
:
true
,
install_dir
:
mandir
)
man_pages
+=
[
p
1
]
man_pages
+=
[
m
p
]
p
2
=
custom_target
(
html
,
h
p
=
custom_target
(
html
,
input
:
xml
,
output
:
html
,
command
:
command
+
[
customhtml
,
'@INPUT@'
],
install
:
true
,
install_dir
:
htmldir
)
html_pages
+=
[
p
2
]
html_pages
+=
[
h
p
]
endforeach
...
...
This diff is collapsed.
Click to expand it.
meson.build
+
10
−
5
View file @
d9be7312
...
...
@@ -65,27 +65,32 @@ mlm_includes = include_directories('lib/mlm')
executable
(
'mlm-accommodator'
,
'src/accommodator/accommodator.vala'
,
dependencies
:
[
gee
,
gio
],
include_directories
:
[
id3tagx_includes
,
mlm_includes
],
install
:
true
,
link_with
:
[
id3tagx
,
mlm
])
link_with
:
[
id3tagx
,
mlm
],
install
:
true
)
executable
(
'mlm-analyze'
,
'src/analyze/analyze.vala'
,
dependencies
:
[
id3tag
,
gdkpixbuf
,
gee
,
gio
],
include_directories
:
[
id3tagx_includes
,
mlm_includes
],
install
:
true
,
link_with
:
[
id3tagx
,
mlm
])
link_with
:
[
id3tagx
,
mlm
],
install
:
true
)
executable
(
'mlm-copy-tags'
,
'src/copy-tags/copy-tags.vala'
,
dependencies
:
[
id3tag
,
gdkpixbuf
,
gee
,
gio
],
include_directories
:
[
id3tagx_includes
,
mlm_includes
],
install
:
true
,
link_with
:
[
id3tagx
,
mlm
])
link_with
:
[
id3tagx
,
mlm
],
install
:
true
)
executable
(
'mlm-tags'
,
'src/tags/tags.vala'
,
dependencies
:
[
gee
],
include_directories
:
[
id3tagx_includes
,
mlm_includes
],
install
:
true
,
link_with
:
[
id3tagx
,
mlm
])
link_with
:
[
id3tagx
,
mlm
],
install
:
true
)
executable
(
'mlm-verify'
,
'src/verify/verify.vala'
,
dependencies
:
[
id3tag
,
gdkpixbuf
,
gee
,
gio
],
include_directories
:
[
id3tagx_includes
,
mlm_includes
],
install
:
true
,
link_with
:
[
id3tagx
,
mlm
])
link_with
:
[
id3tagx
,
mlm
],
install
:
true
)
gnome
=
import
(
'gnome'
)
...
...
This diff is collapsed.
Click to expand it.
meson_options.txt
+
3
−
3
View file @
d9be7312
option
(
'
en
able
-
doc'
,
type
:
'boolean'
,
value
:
tru
e
,
description
:
'
En
able generati
ng the
man
ual
pages'
)
option
(
'
dis
able
_
doc'
,
type
:
'boolean'
,
value
:
fals
e
,
description
:
'
Dis
able generati
on of
man pages'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment