diff options
author | William Cohen <wcohen@redhat.com> | 2011-03-16 11:32:26 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2011-03-16 11:32:26 -0400 |
commit | 26c2b77bff6dcab6f212dd5fb0a6b755aca1c88f (patch) | |
tree | ad933c81e182ed5e3360808e4e1497345cb4b975 /Makefile.am | |
parent | 040a7cda095fde2db65ca043d0aa491848b12bfe (diff) | |
download | memstomp-26c2b77bff6dcab6f212dd5fb0a6b755aca1c88f.tar.gz memstomp-26c2b77bff6dcab6f212dd5fb0a6b755aca1c88f.tar.xz memstomp-26c2b77bff6dcab6f212dd5fb0a6b755aca1c88f.zip |
Add check to flag any uncommitted changes before creating tarball
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 508bee7..12b2623 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,4 +81,8 @@ uninstall-hook: rm -f $(DESTDIR)$(libdir)/libmemstomp.so rm -f $(DESTDIR)$(libdir)/libmemstomp-backtrace-symbols.so +dist-gzip: + cd $(srcdir); git status | grep working.directory.clean || (echo "You should commit your changes before 'make rpm'.") + (cd $(srcdir); git archive --prefix=memstomp-$(VERSION)/ --format=tar HEAD) | gzip > memstomp-$(VERSION).tar.gz + ACLOCAL_AMFLAGS = -I m4 |