]> eyrie.org Git - kerberos/kftgt.git/commitdiff
Get the debhelper compatibility level from compat instead of rules, and
authorRuss Allbery <rra@stanford.edu>
Wed, 18 May 2005 04:29:43 +0000 (04:29 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 15 Mar 2010 06:05:55 +0000 (23:05 -0700)
bump it to 4.  Install krsh as well.  Call dh_link just in case, since it
does general cleanup.  Call dh_perl to get Perl dependencies for klogin
and krsh.  Call dh_md5sums.

debian/compat [new file with mode: 0644]
debian/rules

diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
index 457fb0d5c28a6f580ccafecbca3b2dd3a12fa9f6..ba7bead72802405ef4b81bcba2a9ac670fdd1cfc 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # Model by Ian Jackson.
 # Debhelper model by Joey Hess.
-# kftgt details by Ben Pfaff.
+# kftgt details by Ben Pfaff and Russ Allbery.
 # Released under the GNU GPL.
 
 SHELL = /bin/bash
@@ -27,9 +27,6 @@ install-stamp: build-stamp
        dh_testroot
        dh_installdirs
 
-DH_COMPAT = 3
-export DH_COMPAT
-
 binary: binary-arch
 binary-arch: binary-kftgt binary-kftgtd
 
@@ -44,34 +41,38 @@ binary-kftgt: build
        dh_clean -k
        dh_installdocs
        dh_installdirs usr/bin
-       install kftgt klogin debian/$(client)/usr/bin
+       install kftgt klogin krsh debian/$(client)/usr/bin
        dh_installchangelogs
-       dh_installman kftgt.1 klogin.1
+       dh_installman kftgt.1 klogin.1 krsh.1
+       dh_link
        dh_strip
        dh_compress
+       dh_fixperms
+       dh_perl
        dh_installdeb
        dh_shlibdeps -v kftgt
        dh_gencontrol
-       dh_fixperms
+       dh_md5sums
        dh_builddeb
 
 binary-kftgtd: DH_OPTIONS = -p$(server)
 binary-kftgtd: build
-       dh_clean -k
        dh_testdir
-       dh_clean -k
        dh_testroot
+       dh_clean -k
        dh_installdocs
        dh_installdirs usr/sbin
        install kftgtd debian/$(server)/usr/sbin
        dh_installchangelogs
        dh_installman kftgtd.8
+       dh_link
        dh_strip
        dh_compress
+       dh_fixperms
        dh_installdeb
        dh_shlibdeps -v kftgtd
        dh_gencontrol
-       dh_fixperms
+       dh_md5sums
        dh_builddeb
 
 .PHONY: binary binary-kftgt binary-kftgtd clean checkroot