# generated
git_ver.c: $(ALL_FILES)
- version=`git describe --dirty --abbrev=6 --match "neomutt-*" 2> /dev/null | \
- sed -e 's/^neomutt-[0-9]\{8\}//; s/-g\([a-z0-9]\{6\}\)/-\1/'`; \
+ version=`git describe --dirty --abbrev=6 --match "20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]" 2> /dev/null | \
+ sed -e 's/[0-9]\{4\}-[0-9][0-9]-[0-9][0-9]//; s/-g\([a-z0-9]\{6\}\)/-\1/'`; \
echo 'const char *GitVer = "'$$version'";' > $@.tmp; \
cmp -s $@.tmp $@ || mv $@.tmp $@; \
rm -f $@.tmp
###############################################################################
# Names and versions
define PACKAGE "neomutt"
-define PACKAGE_VERSION "20180716"
+define PACKAGE_VERSION "2019-10-25"
define BUGS_ADDRESS "neomutt-devel@neomutt.org"
# Subdirectories that contain additional Makefile.autosetup files
###############################################################################
# Define package timestamp (UTC) based on PACKAGE_VERSION for:
# doc/neomuttrc.5, doc/neomutt.1
-define PACKAGE_DATE \
- [regsub {(....)(..)(..)} [get-define PACKAGE_VERSION] {\1-\2-\3}]
+define PACKAGE_DATE [get-define PACKAGE_VERSION]
###############################################################################
# Generate Makefile and config.h
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 2018-07-16
+PROJECT_NUMBER = "2019-10-25"
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a