]> git.proxmox.com Git - lxcfs.git/blame - debian/rules
build fix: override fuse library
[lxcfs.git] / debian / rules
CommitLineData
270f2667
DM
1#!/usr/bin/make -f
2
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5
6%:
bff451d2 7 dh $@ --with autoreconf,quilt
98fe0efe 8
646cf30c 9override_dh_install:
646cf30c 10 find $(CURDIR)/debian/lxcfs/lib/ -type d -empty -delete
28451f75
TL
11 sed -i "/dependency_libs/ s/'.*'/''/" \
12 "$(CURDIR)/debian/lxcfs/usr/lib/x86_64-linux-gnu/lxcfs/liblxcfs.la"
646cf30c 13
24766c16 14override_dh_auto_configure:
b1a0fe81
WB
15 dh_auto_configure -- --with-init-script=systemd \
16 FUSE_CFLAGS="$(shell pkg-config --cflags fuse)" \
17 FUSE_LIBS="$(shell pkg-config --libs fuse)"
24766c16 18
98fe0efe
WB
19override_dh_auto_install:
20 dh_auto_install --destdir=debian/lxcfs
1c9d15dc 21
bff451d2 22override_dh_installsystemd:
502faef9 23 dh_installsystemd -p lxcfs --no-stop-on-upgrade lxcfs.service