Package: debhelper
Version: 13.7.1
Severity: normal

Hi,

I just accidentally split an execute_after_dh_auto_clean into
execute_after_dh_auto_clean-indep and execute_after_dh_auto_clean
(w/o -arch !) and it didn't work as planned since dh would only runs
execute_after_dh_auto_clean ... (seen on compat 13).
I assume it works the same way for execute_before_* and override_*
(haven't tried that).

Is that intentional? I didn't find any documentation about it.

Thinking about it again, I might actually want dh to run *all* of them,
e.g.

* execute_after_dh_auto_clean cleans up something that has been done for
both -arch and -indep builds, e.g. by execute_before_dh_auto_configure
* execute_after_dh_auto_clean-indep cleans up something created by the
-indep build, using some B-D-I for both building and cleaning.

If it's intentional that some of the override/hooks targets are ignored,
there should be at least a warning about such "weird targets in d/rules".

Andreas

Reply via email to