Using $(CURDIR) without quotes
When you use $(CURDIR) in a path in debian/rules
you should bear in mind that it may contain spaces.
This would mean that the build may fail due to passing the wrong arguments to a command, and even if it doesn't fail it will probably not work the way you want.