zaptel: ztmonitor etc. not deleted

Tzafrir Cohen tzafrir.cohen@xorcom.com
Sun, 13 Mar 2005 21:55:27 +0200


Hi

I got the following errors when trying to build zaptel:

dpkg-source: cannot represent change to ztmonitor: binary file contents changed
dpkg-source: cannot represent change to ztspeed: binary file contents changed
dpkg-source: cannot represent change to zttest: binary file contents changed

Indeed the makefile had not instructions to delete it in the 'clean'
target. I then tried to edit the Makefile patch, only to figure out the
patch is being unapplied before calling $(MAKE) clean.

A quick fix:
add to the 'clean' in debian/rules:

	rm -f fxstest ztmonitor ztspeed zttest

However this is not the first time I stumble upon this type of bug. Any
simple way to modify the build scripts so they'll try to:

* build
* clean
* build

? Any point in that?

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen@xorcom.com  http://www.xorcom.com