debian/rules is a Makefile not a shell script.

The current file seems to indicate that the rules file is a shell script
by exporting all variables and using the ${} variable expansion while
the normal Makefile variable expansion uses $() and we also can have
spaces around the variable initialization as it Makefile and not shell.