From 98e701dd06a3796180ebec2fc4dbde51cc8a234a Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 15 Mar 2015 10:27:52 +0100 Subject: [PATCH] configure.ac: create package.tar.bz2 by default bzip2 creates archives that are better compressed than the default gzip format. So running 'make dist' is creating a libcoap-VER.tar.bz2, you can create a *.tar.gz by running 'make dist-gzip' if you prefer. The created bzip2 archive is currently 27% smaller than the respective gzip archive. $ ls -sh libcoap-4.1.2.tar.* 372K libcoap-4.1.2.tar.bz2 476K libcoap-4.1.2.tar.gz --- .gitignore | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2b034ed9..5876b7a6 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ configure debian/ depcomp install-sh +libcoap-*.tar.bz2 libtool ltmain.sh m4/ diff --git a/configure.ac b/configure.ac index 044e0594..758079d2 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ m4_define([libcoap_version],[libcoap_major_version.libcoap_minor_version.libcoap AC_INIT([libcoap], [libcoap_version], [libcoap-developers@lists.sourceforge.net], [libcoap], [http://libcoap.sourceforge.net/]) AC_PREREQ([2.59]) -AM_INIT_AUTOMAKE([1.10 -Wall no-define]) +AM_INIT_AUTOMAKE([1.10 -Wall no-define no-dist-gzip dist-bzip2]) # Generate one configuration header file for building the library itself with # an autogenerated template. We need later a second one (include/libcoap.h)