Hi,
Thanks, I see what you did there.. it's pretty simple... the problem was the #VERSION# causing issues.
If you look at the Makefile you'll see the 'deb' rule for "make deb" :
deb: all
mkdir -p ./distrib/DEB
sed "s/#VERSION#/${VERSION}/" debian/changelog.in > debian/changelog
fakeroot debian/rules clean
fakeroot debian/rules binary VERSION=${VERSION}
so it created the changelog by replacing the #VERSION# with the current version
also not that the current 'make deb' is better because it does many things, first, if it's a release, it will create the file accordingly, if it's the SVN version it will put the svn revision number in the filename, and if you have a modified SVN version, it will append an "M" to it... it is all very useful stuff.
I just tried copying the changelog.in into changelog and fixing the #VERSION# thing, then I did a 'fakeroot dpkg-buildpackage' and it worked. the only thing is that it created a file in distrib/DEB/amsn_.deb (missing version from the filename). oh and I also had to do a mkdir distrib && mkdir distrib/DEB before that...
so.. overall, we could try to find a solution for allowing both the dpkg-buildpackage to work AND the 'make deb' to work with more advanced version naming...
I'll look into it later.
Thanks for the diff!