Building The "Full" Tarball
Prev | Chapter 12. Making a Release | Next

## Building The "Full" Tarball

The "Full" tarball is the one that contains the required Perl and XML libraries along with Lire's source code. This tarball should be called `lire-full-`version`.tar.gz`.

1. If you built the "Standard" tarball, you should move it someplace else along with its signature, because this procedure will overwrite it.

2. Start from a fresh copy by running the command `make maintainer-clean-recursive` in the directory where you checked out Lire's source code.

3. Add the tarballs of the required libraries in the `extras` subdirectory. These tarballs can be downloaded using wget.

   1. `wget http://www.cpan.org/modules/by-module/XML/XML-Parser.2.30.tar.gz`

   2. `wget http://prdownloads.sourceforge.net/expat/expat-1.95.2.tar.gz`

4. Set the version and prepare the source tree by running the command `./bootstrap`.

5. Build Lire.

   1. Run `./configure`

   2. Run `make`

6. Create the tarball by running the command `make` followed by the command `make distcheck`.

   This will build a tarball and then make sure that the content of this tarball can be built and installed. If that command fails, Lire isn't ready to be released. Fix the errors before making the release.

7. Rename the generated tarball to `lire-full-`version`.tar.gz`.

8. Sign Lire's tarball with your public key. To do this with GnuPG, run `gpg --detach-sign --armor lire-full-`version`.tar.gz`.

   A file `lire-full-`version`.tar.gz.asc` will get created. Publish this file, together with the tarball. Now, people downloading the tarball can verify its integrity by downloading the .asc along with it, as well as your public key and running `gpg --verify lire-full-`version`.tar.gz.asc` .

Prev | Up | Next
Building The "Standard" Tarball | Home | Building The Debian Package