Thank you for the patch. I think it could be reduced to a single line in debian/rules, something like: DEB_ANT_ARGS := -DDATE='$(shell date -u -d @$(SOURCE_DATE_EPOCH) +"%Y-%m-%d %H:%M:%S")' Ant properties can be overridden with a command line parameter (-Dfoo=bar). Emmanuel Bourg