#!/usr/bin/make -f %: dh $@ override_dh_installdeb: dh_installdeb # Do not mark any of the templates as conffiles, we always want them # to be overwritten. for cf in debian/*/DEBIAN/conffiles; do \ sed -i -e '/\/etc\/ngcp-config\/templates/d' "$$cf"; \ if [ ! -s "$$cf" ]; then \ rm -f "$$cf"; \ fi; \ done D = debian/ngcp-system-tests override_dh_fixperms: dh_fixperms # The file generated from this template will contain passwords. chmod 0600 $(D)/etc/ngcp-config/templates/etc/ngcp-system-tests/900_service-ngcp-api.yaml.tt2