#348620 lintian: Warn about clean targets doing something before removing stamp files

#348620#5
Date:
2006-01-18 02:39:20 UTC
From:
To:
Policy 4.8:
| If a build file is touched at the end of the build target, as
| suggested above, it should be removed as the first action that clean
| performs, so that running build again after an interrupted clean
| doesn't think that everything is already done.

It would be great if lintian could check for this.

#348620#12
Date:
2008-07-19 00:47:27 UTC
From:
To:
tag 348620 patch
thanks

Hi all,

Attached is the patch implementing that check.

Cheers,

#348620#19
Date:
2008-07-19 00:57:35 UTC
From:
To:
tag 348620 - patch
tag 376184 + patch
thanks

Oops, got the bug number wrong.

Cheers,

#348620#24
Date:
2008-08-09 20:30:29 UTC
From:
To:
I've looked into this a bit. I'm not sure yet how to implement this
best.

One needs essentially three bits of information for this:
1) The contents of the build and build-stamp targets
2) The contents of the clean target
3) The debhelper compat level

Currently the first two are collected in checks/rules and the
last one in checks/debhelper. Neither of these two is a entirely
trivial task.

Maybe we need a collection/debhelper script? I have the feeling that
this will at some point benefit many source oriented check scripts.

Gruesse,

#348620#33
Date:
2018-12-04 00:22:53 UTC
From:
To:
-- 
Hello,


   Please i need your help to invest in your region.