Made ant deb depend on dist
Merge pull request #2974 from kfeuz/Issue2973

Made ant deb depend on dist