]> git.proxmox.com Git - lxc.git/blame - debian/rules
bump version to 6.0.0-1
[lxc.git] / debian / rules
CommitLineData
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/*
7DPKG_EXPORT_BUILDFLAGS = 1
8include /usr/share/dpkg/default.mk
9
9108d962 10%:
92de5cbc
WB
11 dh $@
12
13override_dh_auto_clean:
14 rm -fr build
9108d962
DM
15
16override_dh_auto_configure:
92de5cbc
WB
17 mkdir -p build
18 cd build && meson .. --prefix=/usr \
19 -Dinit-script=systemd \
20 -Dapparmor=true \
21 -Dseccomp=true \
22 -Dselinux=false \
23 -Dman=true \
24 -Dexamples=false \
25 -Dcgroup-pattern='lxc/%n'
26
27# override_dh_auto_build:
28# cd build && ninja -v
29#
30# override_dh_auto_test:
31# cd build && ninja test
9108d962 32
f34b9289
WB
33override_dh_fixperms:
34 dh_fixperms -Xusr/lib/$(DEB_HOST_MULTIARCH)/lxc/lxc-user-nic
9108d962 35
419e96ed 36override_dh_install:
1ffb259f 37 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
737d0a61 38 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/liblxc.a
b76bfba9 39 dh_apparmor -p lxc-pve --profile-name=usr.bin.lxc-start
0b34d2a8 40 dh_apparmor -p lxc-pve --profile-name=lxc-containers
f6eac540
TL
41 dh_install
42
43override_dh_missing:
44 dh_missing --fail-missing
ef3ede14 45
d3bbd2a2
WB
46override_dh_installsystemd:
47 dh_installsystemd -plxc-pve -r lxc-monitord.service lxc-net.service
48 dh_installsystemd -plxc-pve -r --no-restart-after-upgrade lxc.service