added DEBIAN_REVISION, replaced $(VAR) with @VAR@, minor stuff