bug-gnulib
[Top][All Lists]
Advanced

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

Re: files under build-aux/ are forgotten to be distributed


From: Bruno Haible
Subject: Re: files under build-aux/ are forgotten to be distributed
Date: Sat, 21 Jul 2007 20:28:04 +0200
User-agent: KMail/1.5.4

Eric Blake wrote:
> >     * gnulib-tool (func_get_automake_snippet): Synthesize also an
> >     EXTRA_DIST augmentation for files in build-aux/.
> 
> Could we also do that for diff files grabbed from under --local-dir?  I found 
> it annoying that for m4 1.4.10, I had to manually update EXTRA_DIST to pick 
> up 
> local/doc/gpl-3.0.texi.diff, only to have to undo it again a week later when 
> I 
> deleted the diff file because of the upstream .texi changes.

I find this annoying too, with the --local-dir that I maintain in gettext.

However, for gnulib-tool the --local-dir is conceptually read-only, i.e. input.
It can even be a directory outside the distribution. It would not be a good
idea to make it read-write.

The cleanest solution is probably to hack some automake 'dist' hook that adds
all files of the subdirectory (except those generated by automake itself,
like Makefile.in and Makefile, and versioning system directories) to the list
of files to be distributed.

Bruno





reply via email to

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