It is triggered by setting DEBIAN_MODE=yes in the environment.
This creates a tarball suitable for use in debian packages.
The differences from the standard tarball are these:
* The tar ball file is called ctdb_VERSION.orig.tar.gz
* The base directory in the tar ball is ctdb-VERSION.orig/
Michael
TAR_PREFIX="ctdb-${VERSION}"
TAR_BASE="ctdb-${VERSION}"
+if test "x${DEBIAN_MODE}" = "xyes" ; then
+ TAR_PREFIX="ctdb-${VERSION}.orig"
+ TAR_BASE="ctdb_${VERSION}.orig"
+fi
+
TAR_BALL=${TAR_BASE}.tar
TAR_GZ_BALL=${TAR_BALL}.gz