summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-17 15:42:17 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-11-16 11:57:46 +0100
commit90670d1be92ad46d745d025f3c7d19b1a5c8f67d (patch)
tree02a71fff4175de409afacddf060f1ef1d8d96cf4
parent4ee0575e8cadfc806464490e29702186b712ef6c (diff)
configure: generate bzip2 tarballs in ustar format by default.
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index a2045146..87184673 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,11 +15,11 @@ DEB_BUILDDIR = debian.build
deb:
dpkg-buildpackage -rfakeroot -uc -us
-deb.upstream: dist
+deb.upstream: dist-bzip2
-mkdir -p $(DEB_BUILDDIR)
cd $(DEB_BUILDDIR) && \
rm -rf $(PACKAGE)-$(VERSION) && \
- tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
+ tar jxvf ../$(PACKAGE)-$(VERSION).tar.bz2 && \
cd $(PACKAGE)-$(VERSION) && \
$(LN_S) debian.upstream debian && \
$(MAKE) deb -f Makefile.am
diff --git a/configure.ac b/configure.ac
index 4a8fda47..b12ba128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ AC_CONFIG_AUX_DIR([build-aux])
AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([1.11 tar-ustar no-dist-gzip dist-bzip2])
TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`"
AC_SUBST(TODAY)