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