[Build-common-hackers] Bug#509180: please do always run dh_clean after 'make distclean'

Fabian Greffrath greffrath at leat.rub.de
Fri Dec 19 10:26:51 UTC 2008


Package: cdbs
Version: 0.4.52
Severity: normal

Dear cdbs-developers,

please change the order of rules to always run dh_clean *after* the 
package has been cleaned via 'make [dist]clean'.

The reason for this is that dh_clean may delete some (e.g. 
auto-generated) files from the source (e.g. via debian/clean) that are 
required to run 'make [dist]clean' though. Changing the order to run 
dh_clean last will make the behaviour consistent with the latest 
dh-make templates and should not make a difference for any other package.

I have not tested yet, but i believe that the current behaviour has to 
do with the order in which the cdbs makefiles are included in 
debian/rules. In my specific case it is like this:
	include /usr/share/cdbs/1/rules/debhelper.mk
	include /usr/share/cdbs/1/class/autotools.mk
	include /usr/share/cdbs/1/rules/patchsys-quilt.mk

Thank you very much!

Cheers,
Fabian


-- 
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath at leat.ruhr-uni-bochum.de





More information about the Build-common-hackers mailing list