This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
git-based make dist
- From: Roland McGrath <roland at redhat dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 28 Oct 2009 17:07:20 -0700 (PDT)
- Subject: git-based make dist
The branch roland/dist-git has some rehacked targets for preparing releases.
This will go in pending verification of the libidn issue.
In the new plan, there are two interesting targets:
* make dist-prepare
You should use this before you tag, even if you don't care about tarballs.
If you already tagged and then this had something to do, you blew it.
It makes sure everything generated is up to date, and then barfs on you if
the generated stuff and various other things in your working directory are
not committed.
* make dist
This does dist-prepare to barf on you as needed.
Then it does: make dist dist-version=`git describe`
That is, it makes the dist corresponding to your HEAD checkout.
This assumes you have committed everything and done git tag -s.
If you haven't tagged, you'll wind up with a snapshot dist.
** make dist dist-version=glibc-XYZ
This makes the tarball trivially using git archive.
It doesn't do dist-prepare checks. Your working tree
doesn't have any real effect on the output, just the
tag or commit id in dist-version.
This now makes .gz, .bz2, and .xz archives.
xz takes a really long time to compress, but gets it a lot smaller.
The current sizes are: uncompressed 101M, .gz 21M, .bz2 15M, .xz 9.7M
Thanks,
Roland