chiark / gitweb /
Fix install locations
[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 # also some of the tests fail
8 CONFFLAGS = \
9   --exec-prefix= \
10   --with-rootprefix= \
11   --with-rootlibdir=/lib/$(DEB_HOST_MULTIARCH) \
12   --enable-kdbus \
13   --disable-lto \
14   --disable-tests
15
16 autoreconf:
17         ./autogen.sh
18         
19 override_dh_autoreconf:
20         dh_autoreconf debian/rules -- autoreconf
21
22 override_dh_auto_configure:
23         dh_auto_configure --builddirectory=build \
24     -- $(CONFFLAGS)
25
26 %:
27         dh $@ --builddirectory=build --with autoreconf --parallel