bug-grep
[Top][All Lists]
Advanced

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

bug#19094: Clean doc/{stamp-vti,version.texi}


From: Eric Blake
Subject: bug#19094: Clean doc/{stamp-vti,version.texi}
Date: Tue, 18 Nov 2014 08:30:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/18/2014 07:35 AM, Santiago Ruano Rincón wrote:
> Hello,
> 
> Please, tell automake to clean doc/stamp-vti and doc/version.texi files.
> 

Sadly, this is not going to work.  These files are intentionally
distributed as part of the tarball so that users don't have to have all
the non-standard tools required to rebuild them; nuking them as part of
'make clean' would negate that benefit.  Nuking them during 'make
maintainer-clean' would be okay, but doesn't automake already do that?

> I've come to this minor patch to make it possible to build the grep
> debian package twice in a row (to build it over an already built
> directory).

What is the error you are seeing without this patch?  I'd rather fix the
root cause than poke at symptoms.

>  EXTRA_DIST = grep.in.1
> -CLEANFILES = grep.1 egrep.1 fgrep.1
> +CLEANFILES = grep.1 egrep.1 fgrep.1 stamp-vti version.texi
>  
>  grep.1: grep.in.1
>       $(AM_V_GEN)rm -f address@hidden $@
> diff --git a/gnulib b/gnulib
> index 46d015f..8415b67 160000
> --- a/gnulib
> +++ b/gnulib
> @@ -1 +1 @@
> -Subproject commit 46d015f9c3c959d2d9b9c3b9e9c99f3f420277b0
> +Subproject commit 8415b6792e53f9aa309caedda799f9d9f3dffc53

Also, your patch incorrectly changes the gnulib submodule.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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