Bump Debian compat version to 12, using debhelper-compat approach
authorMichael Prokop <mika@grml.org>
Tue, 12 May 2020 14:21:18 +0000 (16:21 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 12 May 2020 15:07:29 +0000 (17:07 +0200)
Replace dh_clean with dh_prep accordingly.

debian/compat [deleted file]
debian/control
debian/rules

diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index f599e28..0000000
+++ /dev/null
@@ -1 +0,0 @@
-10
index ac3e7cb..8a05e50 100644 (file)
@@ -2,8 +2,9 @@ Source: grml-etc-core
 Section: grml
 Priority: optional
 Maintainer: Michael Prokop <mika@grml.org>
-Build-Depends: debhelper (>= 10~),
-               txt2tags
+Build-Depends:
+ debhelper-compat (= 12),
+ txt2tags,
 Standards-Version: 4.5.0
 Homepage: https://git.grml.org/?p=grml-etc-core.git
 Vcs-git: git://git.grml.org/grml-etc-core.git
index 7bf93ff..ca1b5ad 100755 (executable)
@@ -17,17 +17,15 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
-
-       dh_clean 
+       dh_prep
        rm -rf debian/grml-etc-core/
        (cd $(CURDIR)/doc && $(MAKE) clean)
 
 install: build
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_prep
        dh_installdirs
-
        # Add here commands to install the package into debian/grml-etc-core.
        cp -a etc/ debian/grml-etc-core/
        cp -a usr_share_grml/ debian/grml-etc-core/usr/share/grml