source: trunk/debathena/meta/maybe-krb4-config/debian/rules @ 24106

Revision 24106, 550 bytes checked in by broder, 15 years ago (diff)
Testing installability in maybe-krb4-config didn't work either, so instead let's examine the version of kerberos-configs that's available ot us.
  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2
3include /usr/share/cdbs/1/rules/debhelper.mk
4
5KERBEROS_CONFIGS_VERSION = $(shell apt-cache showsrc kerberos-configs | grep-dctrl -n -s Version '' | head -n1)
6HAVE_KRB4_CONFIG = $(shell dpkg --compare-versions "$(KERBEROS_CONFIGS_VERSION)" lt '2.1~' && echo yes)
7
8ifneq ($(HAVE_KRB4_CONFIG),)
9binary-predeb/debathena-maybe-krb4-config:: debathena-maybe-krb4-config-substvars
10
11debathena-maybe-krb4-config-substvars::
12        echo "debathena-maybe-krb4-config-depends=krb4-config" \
13          >> debian/debathena-maybe-krb4-config.substvars
14endif
Note: See TracBrowser for help on using the repository browser.