]>
Commit | Line | Data |
---|---|---|
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 |