]>
Commit | Line | Data |
---|---|---|
270f2667 DM |
1 | #!/usr/bin/make -f |
2 | ||
3 | # Uncomment this to turn on verbose mode. | |
4 | #export DH_VERBOSE=1 | |
5 | ||
6 | %: | |
92ec4ea5 | 7 | dh $@ |
98fe0efe | 8 | |
ce1cd259 WB |
9 | override_dh_auto_clean: |
10 | rm -fr build | |
646cf30c | 11 | |
24766c16 | 12 | override_dh_auto_configure: |
ce1cd259 WB |
13 | mkdir -p build |
14 | cd build && meson .. --prefix=/usr \ | |
15 | -Dinit-script=systemd \ | |
16 | -Dfuse-version=2 | |
24766c16 | 17 | |
98fe0efe WB |
18 | override_dh_auto_install: |
19 | dh_auto_install --destdir=debian/lxcfs | |
1c9d15dc | 20 | |
bff451d2 | 21 | override_dh_installsystemd: |
ce1cd259 WB |
22 | install -dm755 $(CURDIR)/debian/lxcfs/lib |
23 | mv $(CURDIR)/debian/lxcfs/usr/lib/systemd \ | |
24 | $(CURDIR)/debian/lxcfs/lib/systemd | |
502faef9 | 25 | dh_installsystemd -p lxcfs --no-stop-on-upgrade lxcfs.service |