diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-01-18 09:37:44 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-01-22 09:14:04 -0500 |
commit | 487109b910b07c3a2260a6daa234af051d34cd52 (patch) | |
tree | 2d2b54d0a66f253420c137d3d9d09ea971a062c0 /configure.ac | |
parent | 796b784bcdce3154d204bfac0a88f92fbe66d2df (diff) | |
download | sssd-487109b910b07c3a2260a6daa234af051d34cd52.tar.gz sssd-487109b910b07c3a2260a6daa234af051d34cd52.tar.xz sssd-487109b910b07c3a2260a6daa234af051d34cd52.zip |
Add 'prerelease-srpms' target to Makefile
This target is available only if building from a git checkout.
It will automatically populate the PRERELEASE_VERSION in
version.m4 with the current datestamp and git commit id for
creating an SRPM.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d0785ad78..7f329676d 100644 --- a/configure.ac +++ b/configure.ac @@ -13,5 +13,7 @@ AC_CONFIG_SUBDIRS([replace common server sss_client]) AC_SUBST([PRERELEASE_VERSION], PRERELEASE_VERSION_NUMBER) +AM_CONDITIONAL([GIT_CHECKOUT], [git log -1 &>/dev/null]) + AC_CONFIG_FILES([Makefile contrib/sssd.spec]) AC_OUTPUT |