2010-07-15

Don't produce Gzipped tarballs

A quick note so I can delete it from my desktop. In order to produce only a Bzip2 tarball with the Autotools, specially when running make distcheck, set the automake init call with these parameters:

AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2])

By the way I wonder if it's worth dumping bzip2 against xz.

3 comments:

  1. Well, since neither is LSB:
    http://dev.linuxfoundation.org/navigator/browse/command.php
    http://www.linuxfoundation.org/collaborate/workgroups/lsb

    I'd go with xz :D

    ReplyDelete
  2. Interesting information, however the bzip2 requirement is only for the developper who prepares the tarball for distribution.

    ReplyDelete
  3. Ok, so I just took me a few minutes to test the whole wondering-thing.

    $ ls -1sh xfce4-taskmanager-1.0.1.tar.*
    416K xfce4-taskmanager-1.0.1.tar.gz
    348K xfce4-taskmanager-1.0.1.tar.bz2
    292K xfce4-taskmanager-1.0.1.tar.xz

    And as you can see the result shows that xz >> bzip2 >> gzip :)

    ReplyDelete