[PATCH 3/6] libdw: Let clean targets be unconditional
Mark Wielaard
mark@klomp.org
Mon Oct 14 21:05:48 GMT 2024
Hi Michael,
On Thu, Oct 10, 2024 at 10:27:09AM +0000, Michael Pratt wrote:
> The automake rule "maintainer-clean-generic"
> is always available and never conditional,
> so let the variable that uses it be define
> non-conditionally.
>
> If one actually wants conditional cleaning
> they should write a custom rule and set it
> as a dependency of a "*clean-local" automake rule.
>
> There is no need to do conditional cleaning here,
> so move the MAINTAINERCLEANFILES variable definition
> to the end of the Makefile.am file as it is
> in the rest of the project.
>
> * libdw/Makefile.am: move MAINTAINERCLEANFILES
> variable to the end of the file
> as a non-conditional definition.
You are right, there is no reason to only define MAINTAINERCLEANFILES
conditionally. Pushed.
Thanks,
Mark
More information about the Elfutils-devel
mailing list