summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-23 10:05:15 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-23 16:16:25 -0500
commit7f9938302778ffe87ef6295710c3670a44803f3a (patch)
tree2644037c276f7ae1f083c915143808ed5e97fa03 /Makefile.am
parent170cd083e3a9738b35de03b8e63743a8f2516ca8 (diff)
downloadsssd-7f9938302778ffe87ef6295710c3670a44803f3a.tar.gz
sssd-7f9938302778ffe87ef6295710c3670a44803f3a.tar.xz
sssd-7f9938302778ffe87ef6295710c3670a44803f3a.zip
Include hour in 'make prerelease-rpms'
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a26f77462..cfdce61c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,7 @@ rpms: dist-gzip rpmroot
if GIT_CHECKOUT
prerelease-rpms:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
- sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d`git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
+ sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d%H`git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
$(MAKE) rpms
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif
@@ -47,7 +47,7 @@ srpms: dist-gzip rpmroot
if GIT_CHECKOUT
prerelease-srpms:
cp $(srcdir)/version.m4 $(srcdir)/version.m4.orig
- sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d`git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
+ sed -e "s/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.*\])/m4_define(\[PRERELEASE_VERSION_NUMBER\], \[.`date +%Y%m%d%H`git`git log -1 --pretty=format:%h`\])/" < $(srcdir)/version.m4.orig > $(srcdir)/version.m4
$(MAKE) srpms
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif