]> git.proxmox.com Git - criu.git/blame - debian/rules
switch to Debians packaging as base
[criu.git] / debian / rules
CommitLineData
bee2aa9a
DM
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 FEATURE AREAS in dpkg-buildflags(1)
7export DEB_BUILD_MAINT_OPTIONS = hardening=-all
f254e41c
WB
8export CFLAGS+=-fPIC
9export LDFLAGS=
10TMP=$(CURDIR)/debian/criu
bee2aa9a
DM
11
12# main packaging script based on dh7 syntax
13%:
f254e41c 14 dh $@ --parallel --with python2
bee2aa9a
DM
15
16
17override_dh_strip:
18 dh_strip --dbg-package=criu-dbg
19
20
21override_dh_auto_test:
22 # this fails - disable and ignore for now
23
24override_dh_install:
25 #dh_install --exclude=.pyc --fail-missing
26 dh_install --exclude=.pyc --fail-missing
27
28override_dh_auto_install:
f254e41c
WB
29 dh_auto_install -- DESTDIR="$(TMP)" PREFIX="/usr" LIBEXECDIR="/usr/lib"
30 find $(TMP)/usr/lib -type d -empty -delete