]> git.proxmox.com Git - lxcfs.git/blob - debian/rules
6d2b7376d37d10aa5408c203cf55a9891cd887c0
[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 autotools_dev,autoreconf,systemd,quilt
8
9 override_dh_install:
10 find $(CURDIR)/debian/lxcfs/lib/ -type d -empty -delete
11
12 override_dh_auto_configure:
13 dh_auto_configure -- --with-init-script=systemd
14
15 override_dh_auto_install:
16 dh_auto_install --destdir=debian/lxcfs
17
18 override_dh_installinit:
19 dh_installsystemd -p lxcfs --no-restart-on-upgrade
20
21 override_dh_systemd_start:
22 dh_systemd_start -p lxcfs --no-restart-on-upgrade lxcfs.service