]>
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 | %: |
b919c812 | 11 | dh $@ --with autoreconf,autotools-dev,quilt,systemd |
9108d962 DM |
12 | |
13 | override_dh_auto_configure: | |
14 | dh_auto_configure -- \ | |
15 | --with-distro=debian \ | |
16 | --with-init-script=systemd \ | |
99abd087 | 17 | --with-config-path=/etc/pve/lxc \ |
9108d962 DM |
18 | --enable-apparmor \ |
19 | --enable-doc \ | |
20 | --enable-api-docs \ | |
21 | --disable-rpath \ | |
22 | --disable-selinux \ | |
23 | --enable-bash \ | |
9019c21d | 24 | --enable-cgmanager \ |
9108d962 DM |
25 | --disable-python \ |
26 | --disable-lua \ | |
219f85a3 | 27 | --disable-examples |
9108d962 DM |
28 | |
29 | override_dh_strip: | |
b76bfba9 | 30 | dh_strip --dbg-package=lxc-pve-dbg |
9108d962 DM |
31 | |
32 | ||
33 | ||
419e96ed | 34 | override_dh_install: |
b76bfba9 | 35 | dh_apparmor -p lxc-pve --profile-name=usr.bin.lxc-start |
99abd087 DM |
36 | |
37 | # do not include dirs on /etc/pve | |
bc2d5fe3 DM |
38 | # rmdir $(CURDIR)/debian/tmp/etc/pve/lxc |
39 | # rmdir $(CURDIR)/debian/tmp/etc/pve | |
99abd087 | 40 | |
bc2d5fe3 | 41 | # rm $(CURDIR)/debian/tmp/var/lib/lxc/README |
8b0fc9ee | 42 | |
419e96ed | 43 | dh_install --fail-missing |