]>
Commit | Line | Data |
---|---|---|
9108d962 | 1 | #!/usr/bin/make -f |
b919c812 | 2 | |
9108d962 DM |
3 | # output every command that modifies files on the build system. |
4 | #DH_VERBOSE = 1 | |
5 | ||
6 | # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* | |
7 | DPKG_EXPORT_BUILDFLAGS = 1 | |
8 | include /usr/share/dpkg/default.mk | |
9 | ||
9108d962 | 10 | %: |
4a19a6d0 | 11 | dh $@ --with autoreconf,quilt |
9108d962 DM |
12 | |
13 | override_dh_auto_configure: | |
14 | dh_auto_configure -- \ | |
15 | --with-distro=debian \ | |
16 | --with-init-script=systemd \ | |
dcf10cd9 WB |
17 | --enable-apparmor \ |
18 | --enable-doc \ | |
9108d962 DM |
19 | --enable-api-docs \ |
20 | --disable-rpath \ | |
21 | --disable-selinux \ | |
22 | --enable-bash \ | |
ed322262 | 23 | --disable-cgmanager \ |
9108d962 DM |
24 | --disable-python \ |
25 | --disable-lua \ | |
234fb942 | 26 | --disable-examples \ |
2d8021b3 | 27 | --enable-seccomp \ |
834bb4d7 | 28 | --disable-static \ |
11042904 | 29 | --with-cgroup-pattern='lxc/%n' \ |
9108d962 | 30 | |
f34b9289 WB |
31 | override_dh_fixperms: |
32 | dh_fixperms -Xusr/lib/$(DEB_HOST_MULTIARCH)/lxc/lxc-user-nic | |
9108d962 | 33 | |
419e96ed | 34 | override_dh_install: |
1ffb259f | 35 | rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la |
b76bfba9 | 36 | dh_apparmor -p lxc-pve --profile-name=usr.bin.lxc-start |
0b34d2a8 | 37 | dh_apparmor -p lxc-pve --profile-name=lxc-containers |
f6eac540 TL |
38 | dh_install |
39 | ||
40 | override_dh_missing: | |
41 | dh_missing --fail-missing | |
ef3ede14 | 42 | |
d3bbd2a2 WB |
43 | override_dh_installsystemd: |
44 | dh_installsystemd -plxc-pve -r lxc-monitord.service lxc-net.service | |
45 | dh_installsystemd -plxc-pve -r --no-restart-after-upgrade lxc.service |