1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# This has to be exported to make some magic below work.
export DH_OPTIONS
export DH_BUILD_DIR = build
export DH_SOURCE_DIR = .
%:
dh $@ --buildsystem=cmake --builddirectory=build
# Build system needs to create static and shared library (which means patching cmake files) so we can't use d-shlibs yet
#override_dh_install:
# dh_install
# d-shlibmove --commit \
# --multiarch \
# --devunversioned \
# --exclude-la \
# --movedev debian/tmp/usr/include usr \
# debian/tmp/usr/lib/*/*.so
|