In resources/instal/lbuild.xml there's the deb target, which depends on version,dpkg-build-warning,-prepare-debian-sh. Is depending on version intentionally? I'm asking this, because it looks like, by depending on version, the deb target was intended to be called alone like this:
But on the other hand, if this was the intention, it should as well depend on init, compile, etc. If the intention was this, then it may just depend on rebuild, or make. If it was meant to always be called only after rebuild like this:
ant rebuild deb
then depending on version is unnecessary.