]>
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 | %: | |
bff451d2 | 7 | dh $@ --with autoreconf,quilt |
98fe0efe | 8 | |
646cf30c | 9 | override_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 |
14 | override_dh_auto_configure: |
15 | dh_auto_configure -- --with-init-script=systemd | |
16 | ||
98fe0efe WB |
17 | override_dh_auto_install: |
18 | dh_auto_install --destdir=debian/lxcfs | |
1c9d15dc | 19 | |
bff451d2 WB |
20 | override_dh_installsystemd: |
21 | # just fuck off | |
1c9d15dc FG |
22 | |
23 | override_dh_systemd_start: | |
bff451d2 | 24 | dh_systemd_start -p lxcfs --no-stop-on-upgrade lxcfs.service |