[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DELETE_ON_ERROR test-suite.log and .PRECIOUS
From: |
Stefano Lattarini |
Subject: |
Re: DELETE_ON_ERROR test-suite.log and .PRECIOUS |
Date: |
Thu, 26 Dec 2013 20:38:01 +0100 |
On 07/20/2013 08:35 AM, Holger Hans Peter Freyther wrote:
> Good Morning,
>
> systemd is using .DELETE_ON_ERROR to simplify some rules[1] but the
> side-effect is that during make check and a failing test the result
> of 'test-suite.log' will be deleted as well. I 'fixed' this by adding
> .PRECIOUS: $(TEST_SUITE_LOG) to the file but that is triggering the
> following warning:
>
> Makefile.am:35: warning: user target '.PRECIOUS' defined here ...
> /usr/share/automake-1.13/am/configure.am: ... overrides Automake target
> '.PRECIOUS' defined here
>
> Is there a better way to ask automake/make to keep the test-suite.log
> around? Is there a way to make the warning go away?
>
> kind regards
> holger
>
>
> [1]
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=96bd03d5b8d5d04fc8037c03a43bb5b148cc1e29
>
Thanks for the suggestion, and sorry for the shameful delay.
I implemented the required improvement with the trivial patch
attached. It should appear in Automake 1.15.
Thanks,
Stefano
0001-Allow-user-to-extend-.PRECIOUS-target.patch
Description: Text Data
- Re: DELETE_ON_ERROR test-suite.log and .PRECIOUS,
Stefano Lattarini <=