dynamically create debian/rules using a template
fixed dynamic *.doc-base file handling