This prevents compilation issues when using C++.
/dovecot.service
/README
/INSTALL
-/version
+/version.txt
/.cache
/.dir-locals.el
/.ropeproject
run-test-valgrind.supp \
dovecot.service.in \
dovecot.socket \
- version \
+ version.txt \
build-aux/git-abi-version-gen \
build-aux/git-version-gen \
build-aux/config.rpath \
distuninstallcheck_listfiles = find . -type f \! -name '*.conf' -print
-version:
+version.txt:
$(AM_V_GEN)env VERSION=$(PACKAGE_VERSION) $(top_srcdir)/build-aux/git-version-gen > $@
aclocal_DATA = m4/dovecot.m4
set -eu
-# serial 2
+# serial 3
# Converts version to ABI version (discards extra information)
if test "${VERSION:-}" != ""; then
:
-elif test -f version; then
- VERSION="`cat version`"
+elif test -f version.txt; then
+ VERSION="`cat version.txt`"
elif test -e .git; then
VERSION="0.0.0"
else
#!/bin/sh
-# serial 2
+# serial 3
if test "${VERSION}" != ""; then
VN="${VERSION}"
-elif test -s version; then
- VN=`cat version`
+elif test -s version.txt; then
+ VN=`cat version.txt`
elif test -e .git; then
VN="0.0.0-`git rev-list --count HEAD`+`git describe --always`"
git update-index -q --refresh >/dev/null 2>&1