chiark / gitweb /
debian/: Update for Debhelper 10.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 10 Jul 2017 10:31:05 +0000 (11:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 10 Jul 2017 12:00:52 +0000 (13:00 +0100)
Possibly controversially: I've forced the libdir back to `/usr/lib',
without an architecture-specific subdirectory.  This makes it easy for
architecture-independent packages to drop things into appropriate
subdirectories, while still /permitting/ architecture-dependent services
and similar.

Relatedly, though, move the `pkg-config' dropping into `/usr/share' by
default.

Makefile.am
debian/compat
debian/rules
debian/tripe.install

index e00e796..046247a 100644 (file)
@@ -84,7 +84,7 @@ SUBDIRS                       += t
 ###--------------------------------------------------------------------------
 ### Package-configuration file.
 
-pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfigdir            = $(datadir)/pkgconfig
 pkgconfig_DATA          = tripe.pc
 EXTRA_DIST             += tripe.pc.in
 CLEANFILES             += tripe.pc
index 45a4fb7..f599e28 100644 (file)
@@ -1 +1 @@
-8
+10
index b45a6be..9b5065a 100755 (executable)
@@ -1,6 +1,6 @@
 #! /usr/bin/make -f
 
-DH_OPTIONS              = --parallel -Bdebian/build
+DH_OPTIONS              = -Bdebian/build
 
 ###--------------------------------------------------------------------------
 ### Configuration.
@@ -9,6 +9,7 @@ OVERRIDES               += auto_configure
 dh_auto_configure_OPTS  = --
 
 ## Various files and directories.
+dh_auto_configure_OPTS += --libdir="\$${prefix}/lib"
 dh_auto_configure_OPTS += --libexecdir="\$${libdir}/tripe"
 dh_auto_configure_OPTS += --with-configdir="/etc/tripe"
 dh_auto_configure_OPTS += --with-socketdir="/var/run"
@@ -61,7 +62,7 @@ dh-install-hook::
 ###--------------------------------------------------------------------------
 ### Some machinery for overriding Debhelper in a structured way.
 
-%:; dh $@ $(DH_OPTIONS)
+%:; dh $@ --without autoreconf $(DH_OPTIONS)
 
 $(foreach o, $(sort $(OVERRIDES)), dh-$o-hook)::; @:
 $(foreach o, $(sort $(OVERRIDES)), override_dh_$o): override_dh_%: dh-%-hook
index d6a2b21..d0c322c 100644 (file)
@@ -6,7 +6,7 @@ debian/tmp/usr/share/man/man7/tripe-service.7tripe
 debian/tmp/usr/share/man/man8/tripe.8tripe
 debian/tmp/usr/lib/tripe/tripe-privhelper
 debian/tmp/usr/share/man/man8/tripe-privhelper.8tripe
-debian/tmp/usr/lib/pkgconfig/tripe.pc
+debian/tmp/usr/share/pkgconfig/tripe.pc
 
 debian/build/contrib/tripe-ipif                /usr/share/doc/tripe/examples
 debian/build/contrib/ipif-peers                /usr/share/doc/tripe/examples