Added clean target, removed buliddep on invirt-base
[invirt/packages/invirt-kerberos-config.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_DIVERT_EXTENSION = .invirt
4 # Stolen from Debathena
5 DEB_CHECK_FILES_SOURCE_/etc/krb5.conf.invirt = \
6         /usr/share/kerberos-configs/krb5.conf.template
7 DEB_DIVERT_FILES_invirt-kerberos-config += \
8         /etc/krb5.conf.invirt
9
10 include /usr/share/cdbs/1/rules/debhelper.mk
11 include /usr/share/cdbs/1/rules/config-package.mk
12
13 common-build-indep:: debian/krb5.conf.invirt.mako
14
15 debian/krb5.conf.invirt.mako: $(call debian_check_files,/etc/krb5.conf)
16         debian/transform_krb5.conf.invirt.mako < $< > $@
17
18 clean::
19         rm -f debian/krb5.conf.invirt.mako