From 43c187a9444ddfdac26fb5c2e2f21dd38c72ce8d Mon Sep 17 00:00:00 2001 From: nagiosplugins Date: Fri, 25 Sep 2009 08:18:04 +0000 Subject: [PATCH] Allow custom versions with the release file... --- configure.in | 8 ++++++++ plugins-root/Makefile.am | 2 +- plugins-scripts/Makefile.am | 2 +- plugins/Makefile.am | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 505af93..5cc693c 100644 --- a/configure.in +++ b/configure.in @@ -101,6 +101,14 @@ AC_SUBST(REV_TIMESTAMP) dnl Check if version file is present AM_CONDITIONAL([RELEASE_PRESENT], [test -f release]) +# Also read in the version from it +if test -f release; then + NP_RELEASE="$(