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