]> git.proxmox.com Git - lxc.git/blob - debian/rules
enable cgmanager
[lxc.git] / debian / rules
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
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
10 # see FEATURE AREAS in dpkg-buildflags(1)
11 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12
13 # see ENVIRONMENT in dpkg-buildflags(1)
14 # package maintainers to append CFLAGS
15 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
16 # package maintainers to append LDFLAGS
17 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
18
19
20 # main packaging script based on dh7 syntax
21 %:
22 dh $@ --with autoreconf,autotools-dev,systemd
23
24 override_dh_auto_configure:
25 dh_auto_configure -- \
26 --with-distro=debian \
27 --with-init-script=systemd \
28 --enable-apparmor \
29 --enable-doc \
30 --enable-api-docs \
31 --disable-rpath \
32 --disable-selinux \
33 --enable-bash \
34 --enable-cgmanager \
35 --disable-python \
36 --disable-lua \
37 --disable-examples \
38 --enable-configpath-log
39
40 override_dh_strip:
41 dh_strip --dbg-package=lxc-dbg
42
43
44
45 override_dh_install:
46 dh_apparmor -p lxc --profile-name=usr.bin.lxc-start
47 dh_install --fail-missing