]>
Commit | Line | Data |
---|---|---|
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) | |
7 | export DEB_BUILD_MAINT_OPTIONS = hardening=-all | |
f254e41c WB |
8 | export CFLAGS+=-fPIC |
9 | export LDFLAGS= | |
10 | TMP=$(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 | ||
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: | |
f254e41c WB |
29 | dh_auto_install -- DESTDIR="$(TMP)" PREFIX="/usr" LIBEXECDIR="/usr/lib" |
30 | find $(TMP)/usr/lib -type d -empty -delete |