]> git.proxmox.com Git - lxcfs.git/blob - debian/rules
d/control: define compat level via build-depends and raise to 13
[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 $@
8
9 override_dh_auto_clean:
10 rm -fr build
11
12 override_dh_auto_configure:
13 mkdir -p build
14 cd build && meson .. --prefix=/usr \
15 -Dinit-script=systemd \
16 -Dfuse-version=2
17
18 override_dh_auto_install:
19 dh_auto_install --destdir=debian/lxcfs
20
21 override_dh_installsystemd:
22 install -dm755 $(CURDIR)/debian/lxcfs/lib
23 mv $(CURDIR)/debian/lxcfs/usr/lib/systemd \
24 $(CURDIR)/debian/lxcfs/lib/systemd
25 dh_installsystemd -p lxcfs --no-stop-on-upgrade lxcfs.service