Update manpage date via meson at buildtime

Similar to a previous manpage update which added support for updating
the manpage's embedded playerctl version at buildtime, this update adds
support for updating playerctl's release month at buildtime.
This commit is contained in:
Nick Morrott
2019-01-20 05:47:46 +00:00
parent 3952912f5c
commit e17b674a2e
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
.TH PLAYERCTL "1" "April 2018" "playerctl @PLAYERCTL_VERSION@" "User Commands"
.TH PLAYERCTL "1" "@PLAYERCTL_RELEASE_MONTH@" "playerctl @PLAYERCTL_VERSION@" "User Commands"
.SH NAME
\fBplayerctl\fR \- utility to control media players via MPRIS
.SH SYNOPSIS

View File

@@ -5,6 +5,8 @@ project(
meson_version: '>=0.46.0'
)
release_month = 'October 2018'
gnome = import('gnome')
pkgconfig = import('pkgconfig')
@@ -30,6 +32,10 @@ version_conf.set(
'PLAYERCTL_MICRO_VERSION',
version_array[2].to_int(),
)
version_conf.set(
'PLAYERCTL_RELEASE_MONTH',
release_month,
)
gobject_dep = dependency('gobject-2.0', version: '>=2.38')
gio_dep = dependency('gio-unix-2.0')