chiark / gitweb /
add devuan build control files
[elogind.git] / debian / rules
1 #! /usr/bin/make -f
2
3 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
4
5 # disable lto because this does not work for me. Building static libraries with i
6 # libtool/ar failes. I think this a apackage problem, it should use gcc-ar instead
7 CONFFLAGS = \
8   --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
9   --enable-kdbus \
10   --disable-lto \
11   --disable-tests
12
13 autoreconf:
14         ./autogen.sh
15         
16 override_dh_autoreconf:
17         dh_autoreconf debian/rules -- autoreconf
18
19 override_dh_auto_configure:
20         dh_auto_configure --builddirectory=build \
21     -- $(CONFFLAGS)
22
23 %:
24         dh $@ --builddirectory=build --with autoreconf --parallel