[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_make debian/rules clean target

package: dh_make

On Fri, 13 Sep 2002, martin f krafft wrote:

> dh_make puts this into the debian/rules clean target:
>     -$(MAKE) distclean
>     -test -r /usr/share/misc/config.sub && \
>         cp -f /usr/share/misc/config.sub config.sub
>     -test -r /usr/share/misc/config.guess && \
>         cp -f /usr/share/misc/config.guess config.guess

if $(wildcard /usr/share/misc/config.sub)
	cp -f /usr/share/misc/config.sub config.sub
if $(wildcard /usr/share/misc/config.guess)
	cp -f /usr/share/misc/config.guess config.guess

This is much better, and, will actually fail if the cp doesn't succeed(which
it should).

ps: this mail is bcc'd to submit@bugs

Reply to: