[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9579: distcheck does not detect incomplete uninstall as advertised
From: |
Eric Blake |
Subject: |
bug#9579: distcheck does not detect incomplete uninstall as advertised |
Date: |
Fri, 23 Sep 2011 14:18:13 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110713 Thunderbird/5.0 |
On 09/23/2011 01:46 PM, Stefano Lattarini wrote:
> Apparently, it was a simple bug. Attached is the patch I'll push to maint
> in a couple of days to fix it. As usual, reviews welcome.
>
> +++ b/lib/am/distdir.am
> @@ -516,16 +516,27 @@ distcheck: dist
> ## from distcheck, so that they can be overridden by the user.
> .PHONY: distuninstallcheck
> distuninstallcheck_listfiles = find . -type f -print
> +## The `dir' file (created by install-info) might still exist after
> +## uninstall, so we must be prepared to account for it. The following
> +## check assumes that the package author hasn't changed ${infodir} nor
> +## ${datarootdir} in strange ways; if he has done so, then he should be
> +## prepared to define a custom $(distuninstallcheck_listfiles) as well.
> +## Also, this check is slighlty laxer than we'd like, but obtaining a
s/slighlty/slightly/
s/ a$//
> +## 100% precision would be too tricky to be really worth, so we declare
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org