Re: [PATCH] build: drop files generated by config.status from tarball

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

 



On Fri, May 6, 2011 at 11:25 AM, Eric Blake <eblake@xxxxxxxxxx> wrote:
> The rule of thumb is that any file generated by config.status
> is a) reproducible by any user, b) dependent on configure options.
> Therefore, it is inappropriate to include such generated files
> in the tarball (for proof, Makefile is generated from Makefile.in;
> the former is not in the tarball while the latter is).
>
> * Makefile.am (EXTRA_DIST): Remove files covered by AC_OUTPUT.
> ---
>
> Tested with 'make distcheck'.
>
> ÂMakefile.am | Â Â4 ++--
> Â1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 0b4ae9d..ecc7435 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -16,9 +16,9 @@ XML_EXAMPLES = \
>
> ÂEXTRA_DIST = \
> Â ChangeLog-old \
> - Âlibvirt.spec libvirt.spec.in \
> + Âlibvirt.spec.in \
> Â mingw32-libvirt.spec.in \
> - Âlibvirt.pc libvirt.pc.in \
> + Âlibvirt.pc.in \
> Â autobuild.sh \
> Â Makefile.nonreentrant \
> Â autogen.sh \
> --
> 1.7.4.4
>
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list
>

ACK, this patch is correct to achieve the desired results.

-- 
Doug Goldstein

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]