From 7648f8dd9eaee660ca85a003e7246ede7b987e63 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Sat, 17 Aug 2019 21:34:03 +0100 Subject: [PATCH] Got rid of PACKAGE_DATE variable altogether (it was used only in the manpage). --- bootstrap/doc/re2c.1 | 2 +- configure.ac | 7 +------ doc/manpage.rst.in | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/bootstrap/doc/re2c.1 b/bootstrap/doc/re2c.1 index c9d3c4c7..22b9ca59 100644 --- a/bootstrap/doc/re2c.1 +++ b/bootstrap/doc/re2c.1 @@ -2369,6 +2369,6 @@ Since then it has been developed and maintained by multiple volunteers; mots notably, Brain Young, Marcus Boerger, Dan Nuffer and Ulya Trofimovich. .SH VERSION INFORMATION .sp -This manpage describes re2c version 1.2.1, package date 13 Aug 2019. +This manpage describes re2c version 1.2.1. .\" Generated by docutils manpage writer. . diff --git a/configure.ac b/configure.ac index 7a59c30e..7038e5fd 100644 --- a/configure.ac +++ b/configure.ac @@ -6,12 +6,7 @@ AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR([src/main.cc]) AC_CONFIG_HEADERS([config.h]) -if test -n "$SOURCE_DATE_EPOCH"; then - PACKAGE_DATE=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" +'%b %d %Y'` -else - PACKAGE_DATE=`date +'%d %b %Y'` -fi -AC_SUBST(PACKAGE_DATE, $PACKAGE_DATE) + AC_SUBST(PACKAGE_VERSION) AC_SUBST(PACKAGE_NAME) AC_SUBST(PACKAGE_TARNAME) diff --git a/doc/manpage.rst.in b/doc/manpage.rst.in index 6c2bd60e..89289734 100644 --- a/doc/manpage.rst.in +++ b/doc/manpage.rst.in @@ -158,5 +158,5 @@ mots notably, Brain Young, Marcus Boerger, Dan Nuffer and Ulya Trofimovich. VERSION INFORMATION =================== -This manpage describes re2c version @PACKAGE_VERSION@, package date @PACKAGE_DATE@. +This manpage describes re2c version @PACKAGE_VERSION@. -- 2.40.0