automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dist-bzip2 with subdirs


From: Ralf Wildenhues
Subject: Re: dist-bzip2 with subdirs
Date: Wed, 29 Mar 2006 12:42:02 +0200
User-agent: Mutt/1.5.11

Hi Paulo,

* Paulo J. Matos wrote on Wed, Mar 29, 2006 at 12:33:37PM CEST:
> 
> Automake provides targets for generating the distributions of the
> software with dist-bzip2 and dist-gzip however it will not keep the
> structure of src directory.

I don't understand the second half of this sentence (the part after
"however").

> I wonder how to work with projects with
> hundreds of files. Do you have them all in a plain src dir or you
> ignore dist-bzip2 and have your own script to generate tars?

Do you mean that by default not all files which just happen to be lying
around in your source and build tree will be put into the tarball?
Well, that's a feature.  I would not want spurious CVS or .svn
subdirectories in my tarball, neither *.orig or *.rej or .#* files
leftover from the last merge, nor would I want object files or other
generated binaries from the build tree in there.  Nor that new source
file that I haven't checked into revision control yet and that happens
not to compile cleanly yet (and is not suited for the general public).

That means, you should normally list explicitly every file (that isn't
automatically distributed) in EXTRA_DIST somewhere.

For everything else, including how to get around that for many files,
read the fine documentation  :-)
  info Automake dist

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]