> Le 14/02/2012 22:58, /dev/ammo42 a écrit : >> On Tue, 14 Feb 2012 22:43:29 +0100 >> Francois Andriot<francois.andriot@...> wrote: >> >>> Le 14/02/2012 22:21, /dev/ammo42 a écrit : >>>>> Hello, >>>>> I'd like to know if there is an existing script or method to build >>>>> "official" source tarballs from git. >>>>> I need to get tarballs that "look like" the ones that are delivered >>>>> for official releases, e.g. that I can build exactly in the same >>>>> way that I build official releases tarballs. >>>> git-archive(1) ? >>> Hello, of course I've found that I can simply tar the existing Git >>> directory structure. >> I was not talking about using tar directly but the "git archive" >> command, which according to the manpages seems to do what you want. >> But since I didn't actually try it I don't know if it behaves well with >> admin and cmake folders. > It does not work as expected either. > > Francois Right, I wouldn't expect it to, as the GIT submodule feature is one of the weakest points of GIT. When I generate the release tarballs I do so from a full copy of the entire GIT tree, submodules and all, and walk the tree down to each module (e.g. tdelibs, tdenetwork, amarok, etc.) to generate a tarball of each module. Tim