chiark / gitweb /
debian/compat: Bump to 12 (stretch-backports) and fix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Dec 2021 16:36:51 +0000 (16:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Dec 2021 17:45:08 +0000 (17:45 +0000)
Necessary changes:

 * Delete obsolete "install" target from rules, which stopped the
   actual dh install from working.  This was broken dead code but
   seems to have actually become a proble with to the changes in v9
   for usual target dependencies.

Precautionary changes:

 * Pass INSTALL="install --strip-program=true" to make install.  This
   is as dh v11 does.  It seems like a good plan to do it here.  I
   have not examined the actual binaries etc. to check for debugging
   info.

 * Pass --no-parallel to dh.  I don't trust vtwm's 90s-era Makefile to
   necessarily be parallel-safe and vtwm builds very quickly anyway.

Closes: #965873
debian/compat
debian/rules

index 7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69..48082f72f087ce7e6fa75b9c41d7387daecd447b 100644 (file)
@@ -1 +1 @@
-5
+12
index d1acd7cba9730fd36fb98c0384a79b98c1136f47..ee9667b620ae68f264529c734625631d0662f725 100755 (executable)
@@ -21,7 +21,7 @@ endif
 export CDEBUGFLAGS
 
 %:
-       dh $@
+       dh $@ --no-parallel
 
 override_dh_auto_configure:
        xmkmf
@@ -36,14 +36,9 @@ override_dh_auto_clean:
 override_dh_clean:
        dh_clean debian/README.Debian
 
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
 override_dh_auto_install:
-       $(MAKE) DESTDIR=debian/vtwm install install.man
+       $(MAKE) DESTDIR=debian/vtwm install install.man \
+               INSTALL="install --strip-program=true"
        rm debian/vtwm/etc/X11/vtwm/system.vtwmrc
        install -m 644 debian/system.vtwmrc-menu debian/vtwm/etc/X11/vtwm