[stgt] [PATCH] Get "make tarball" working on legacy platforms

Florian Haas florian.haas at linbit.com
Tue Oct 6 13:58:12 CEST 2009


On 2009-10-06 13:54, FUJITA Tomonori wrote:
> I'm not sure if `make tarball` is useful. I don't use it so it's not
> my problem but I don't want to support something that doesn't work
> well.
> 
> For example, `make tarball` creates useless tarball for me:
> 
> fujita at viola:~/git/tgt$ tar tjf tgt-0.9.9.tar.bz2 |head
> tgt-0.9.9/GPATH
> tgt-0.9.9/GRTAGS
> tgt-0.9.9/GSYMS
> tgt-0.9.9/GTAGS
> tgt-0.9.9/Makefile
> tgt-0.9.9/README
> tgt-0.9.9/conf/
> tgt-0.9.9/conf/targets.conf

Well it turns out that the patch actually fixes that too. It will only
roll Makefile, README, conf/, doc/, scripts/ and usr/ into the tarball.

> Everyone has other files for other reasons. I don't think that `make
> tarball` is a good idea.

See above.

> You complained that git-archive handles only files in a git tree but
> it should not be a problem. You have your own git tree so git-archive
> should create a nice tarball for you.

But it doesn't work for rolling a tarball that I can then build with
rpmbuild -tb, which was the whole point.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20091006/c8f22bc9/attachment-0001.sig>


More information about the stgt mailing list