Browse Source

Automatically set date in manual pages

Rely on Autoconf to set the date of manual pages to the date
the package was built.
develop
Damien Goutte-Gattat 4 years ago
parent
commit
d3b8dd57fd
3 changed files with 4 additions and 2 deletions
  1. +2
    -0
      configure.ac
  2. +1
    -1
      man/scdrand.1.in
  3. +1
    -1
      man/scdtotp.1.in

+ 2
- 0
configure.ac View File

@ -45,6 +45,8 @@ AC_DEFINE_UNQUOTED([DEFAULT_PRIVATE_DO], [$with_default_do],
[Default private DO for scdtotp.])
AC_SUBST([DEFAULT_PRIVATE_DO], [$with_default_do])
AC_SUBST([BUILD_DATE], [`date +%Y-%m-%d`])
dnl Output files
AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile
man/Makefile man/scdrand.1 man/scdtotp.1])


+ 1
- 1
man/scdrand.1.in View File

@ -1,4 +1,4 @@
.TH SCDRAND 11/08/2014 "scdtools @PACKAGE_VERSION@"
.TH SCDRAND @BUILD_DATE@ "scdtools @PACKAGE_VERSION@"
.SH NAME
scdrand \- Extract random numbers from a smartcard


+ 1
- 1
man/scdtotp.1.in View File

@ -1,4 +1,4 @@
.TH SCDTOTP 18/12/2014 "scdtools @PACKAGE_VERSION@"
.TH SCDTOTP @BUILD_DATE@ "scdtools @PACKAGE_VERSION@"
.SH NAME
scdtotp \- Generate one-time passwords from an OpenPGP smartcard


Loading…
Cancel
Save