source: trunk/debathena/config/kerberos-config/debian/rules @ 25448

Revision 25448, 909 bytes checked in by geofft, 13 years ago (diff)
In kerberos-config: * Spell "kerberos" correctly.
  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .debathena
4DEB_TRANSFORM_FILES_debathena-kerberos-config += \
5        /etc/krb5.conf.debathena
6DEB_CHECK_FILES_SOURCE_/etc/krb5.conf.debathena = \
7        /usr/share/kerberos-configs/krb5.conf.template
8
9KRB5_VERSION = $(shell dpkg-query -W -f '$${Version}' krb5-user)
10ifeq ($(shell dpkg --compare-versions $(KRB5_VERSION) '<<' '1.7~' && echo y),y)
11    DEB_TRANSFORM_FILES_debathena-kerberos-config += \
12        /etc/krb.conf.debathena \
13        /etc/krb.realms.debathena
14    DEB_CHECK_FILES_SOURCE_/etc/krb.conf.debathena = \
15        /usr/share/kerberos-configs/krb.conf.template
16
17    binary-predeb/debathena-kerberos-config:: debathena-kerberos-config-substvars
18    debathena-kerberos-config-substvars::
19        echo "debathena-krb4-depends=krb4-config" \
20          >> debian/debathena-kerberos-config.substvars
21endif
22
23include /usr/share/cdbs/1/rules/debhelper.mk
24include /usr/share/cdbs/1/rules/config-package.mk
Note: See TracBrowser for help on using the repository browser.