]> git.proxmox.com Git - lxcfs.git/blame - debian/rules
remove custom lxcfs.service
[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%:
7629d91b 7 dh $@ --with autoreconf,systemd,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
TL
14override_dh_auto_configure:
15 dh_auto_configure -- --with-init-script=systemd
16
98fe0efe
WB
17override_dh_auto_install:
18 dh_auto_install --destdir=debian/lxcfs
1c9d15dc
FG
19
20override_dh_installinit:
9c862dde 21 dh_installsystemd -p lxcfs --no-restart-on-upgrade
1c9d15dc
FG
22
23override_dh_systemd_start:
24 dh_systemd_start -p lxcfs --no-restart-on-upgrade lxcfs.service