Fix a few lintian warnings.
authorJulien Cristau <jcristau@debian.org>
Mon, 21 Oct 2019 20:06:24 +0000 (22:06 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 21 Oct 2019 20:06:24 +0000 (22:06 +0200)
.gitignore
debian/changelog
debian/control
debian/rules

index 624dd23..0d443e2 100644 (file)
@@ -1,4 +1,3 @@
-build
 debian/debhelper.log
 debian/files
 debian/tmp/
index db0612f..9c57c56 100644 (file)
@@ -11,6 +11,7 @@ userdir-ldap-cgi (0.3.43~) UNRELEASED; urgency=medium
   [ Julien Cristau ]
   * Add build-dependency on libgd-perl.
   * Remove Stephen Gran from Uploaders.
+  * Fix a few lintian warnings.
 
   [ Adam D. Barratt ]
   * Documentation updates and fixes.
index 5aae55e..6e968a1 100644 (file)
@@ -3,7 +3,7 @@ Section: admin
 Priority: optional
 Maintainer: Debian Administration team <debian-admin@lists.debian.org>
 Build-Depends:
- debhelper,
+ debhelper (>= 10),
  wml,
  isoquery,
  iso-codes,
index 3ca3dab..f6b9222 100755 (executable)
@@ -6,15 +6,16 @@
 package:=userdir-ldap-cgi
 i:=./debian/$(package)
 
-build:
+build: build-indep
+
+build-indep:
        dh_testdir
        $(MAKE) -C html
-       touch build
 
 clean:
        dh_testdir
-       -rm -f build
-       -rm -rf debian/files* core debian/substvars debian/debhelper.log html/*.html
+       dh_clean
+       -rm -rf debian/files* core debian/substvars debian/debhelper.log html/*.html html/domains.tab
 
 instdirs = \
        var/www/userdir-ldap \
@@ -28,7 +29,7 @@ instdirs = \
 binary-indep: build
        dh_testdir
        dh_testroot
-       dh_clean -k
+       dh_prep
        dh_installdirs $(instdirs)
        dh_installdocs
 
@@ -77,4 +78,4 @@ binary-arch: build
 
 binary:        binary-indep binary-arch
 
-.PHONY: binary binary-arch binary-indep clean
+.PHONY: build build-indep binary binary-arch binary-indep clean