summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
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