about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-01-12 03:35:49 +0000
committerEric Wong <normalperson@yhbt.net>2012-01-12 03:35:49 +0000
commit11abd230971556f545ce53d57a844fac4b9288fa (patch)
tree6f70830d3585d359a665b654ce07a2de9ad16ae5
parentadf359f979ca9a022b258d28609d516f5042c5a4 (diff)
downloadcmogstored-0.0.0.tar.gz
-rw-r--r--Makefile.am1
-rw-r--r--release.mk7
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 16861a4..f0d0c29 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,3 +135,4 @@ TESTS_ENVIRONMENT = PATH=$(top_builddir):$$PATH
 CLEANFILES = *.gcov *.gcda *.gcno
 MAINTAINERCLEANFILES = $(dist_man_MANS)
 include $(top_srcdir)/coverage.mk
+include $(top_srcdir)/release.mk
diff --git a/release.mk b/release.mk
new file mode 100644
index 0000000..cc6f457
--- /dev/null
+++ b/release.mk
@@ -0,0 +1,7 @@
+release-check:
+        git clean -f -d -x
+        ./autogen.sh
+        ./configure -C
+        $(MAKE)
+        $(MAKE) distcheck
+        $(RAKE) distcheck_git TGZ=$(PACKAGE)-$(VERSION).tar.gz