bug-automake
[Top][All Lists]
Advanced

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

omitting CVS directories


From: Karl Berry
Subject: omitting CVS directories
Date: Mon, 23 Feb 2004 20:28:57 -0500

The automake manual says:

       You can also mention a directory in `EXTRA_DIST'; in this case the
    entire directory will be recursively copied into the distribution.
    Please note that this will also copy _everything_ in the directory,
    including CVS/RCS version control files.  We recommend against using
    this feature.

Well, how about excluding directories named `CVS' or `RCS'?

In the case of Texinfo, Eli maintains the MS-DOS stuff in a djgpp/
subdirectory.  It's hardly crucial, of course, but it would be
convenient to just have `djgpp' in the EXTRA_DIST variable, instead of
`djgpp/file1 ... djgpp/fileN'.

For example, do this after the copy loop:
find $(EXTRA_DIST) -type d \( -name RCS -o -name CVS \) -print \
     -exec rm -rf '{}'

Just a suggestion.

k




reply via email to

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