some improvements in debian/$foo