Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Bruno Haible
Simon Josefsson wrote: > Darn, sorry, I had a rule to remove gnulib's top-level generated lib/ > because it did not contain any source files. Instead of using the option --source-base=lib or --source-base=gl with a dummy (otherwise empty) directory, you can also use --source-base=. --makefile-n

Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Simon Josefsson
Jim Meyering writes: > Simon Josefsson wrote: >> Here is another approach, given that git-version-gen already includes >> some instructions for things to put in Makefile.am. >> >> But maybe there is a better approach, so let's see if we can figure out >> what makes coreutils include the script in

Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Jim Meyering
Simon Josefsson wrote: > Here is another approach, given that git-version-gen already includes > some instructions for things to put in Makefile.am. > > But maybe there is a better approach, so let's see if we can figure out > what makes coreutils include the script in the tarball... Hi Simon, It

Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Simon Josefsson
Here is another approach, given that git-version-gen already includes some instructions for things to put in Makefile.am. But maybe there is a better approach, so let's see if we can figure out what makes coreutils include the script in the tarball... /Simon diff --git a/build-aux/git-version-ge

Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Simon Josefsson
Eric Blake writes: > On 04/30/2011 09:53 AM, Simon Josefsson wrote: >> I got a report [1] that it wasn't possible to run 'autoreconf' in a >> distribution tarball because build-aux/git-version-gen was not >> distributed. Is this intended to work automatically somehow? >> Otherwise, how about thi

Re: git-version-gen and EXTRA_DIST

2011-05-01 Thread Simon Josefsson
Bruno Haible writes: > Hi Simon, > >> I got a report [1] that it wasn't possible to run 'autoreconf' in a >> distribution tarball because build-aux/git-version-gen was not >> distributed. > > Can you show such a tarball? In coreutils-8.12.tar.gz, > build-aux/git-version-gen > is distributed. Se

Re: git-version-gen and EXTRA_DIST

2011-04-30 Thread Bruno Haible
Hi Simon, > I got a report [1] that it wasn't possible to run 'autoreconf' in a > distribution tarball because build-aux/git-version-gen was not > distributed. Can you show such a tarball? In coreutils-8.12.tar.gz, build-aux/git-version-gen is distributed. > > +You must add EXTRA_DIST += build-a

Re: git-version-gen and EXTRA_DIST

2011-04-30 Thread Eric Blake
On 04/30/2011 09:53 AM, Simon Josefsson wrote: > I got a report [1] that it wasn't possible to run 'autoreconf' in a > distribution tarball because build-aux/git-version-gen was not > distributed. Is this intended to work automatically somehow? > Otherwise, how about this patch? > > /Simon > > [

git-version-gen and EXTRA_DIST

2011-04-30 Thread Simon Josefsson
I got a report [1] that it wasn't possible to run 'autoreconf' in a distribution tarball because build-aux/git-version-gen was not distributed. Is this intended to work automatically somehow? Otherwise, how about this patch? /Simon [1] http://lists.nongnu.org/archive/html/oath-toolkit-help/2011-