Changeset 618 for trunk


Ignore:
Timestamp:
Apr 22, 2008, 7:09:03 PM (13 years ago)
Author:
Peter Johansson
Message:

fixed test that SVNDIGEST_DEV_BUILD is false at time of release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r614 r618  
    156156AC_CHECK_FILE("$srcdir/lib/subversion_info.cc",info_found="yes",info_found="no")
    157157
    158 # Checking that a release (non-dev) has no pre in VERSION
     158# checking that DEV_BUILD is set to false at time of release
    159159# Failure should be captured by distcheck
    160 if (test "$wc_found" = "no" && test "$DEV_BUILD" = "yes") ; then
    161    AC_MSG_ERROR([Incorrect version number: $VERSION
    162                  Version number of an official release should have format
    163                  MAJOR.MINOR or MAJOR.MINOR.PATCH])
    164 fi
     160if (test "$wc_found" = "no" && test "$SVNDIGEST_DEV_BUILD" = "true") ; then
     161  AC_MSG_ERROR([Incorrect version:
     162               [SVNDIGEST_DEV_BUILD] is set to SVNDIGEST_DEV_BUILD.
     163         [SVNDIGEST_DEV_BUILD] should be set to false at time of release.
     164               Please, update version.m4.])
     165fi
     166
    165167
    166168# devel version should have svn WC and SVNVERSION installed
Note: See TracChangeset for help on using the changeset viewer.