Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4
5 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
6
7 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
8
9 %:
10 dh $@ --buildsystem=cmake --without autoreconf
11
12 override_dh_auto_configure:
13 dh_auto_configure -- -DCMAKE_BUILD_TYPE="Release" \
14 -DBUILD_DIVSUFSORT64=YES \
15 -DCMAKE_LIBRARY_ARCHITECTURE=${DEB_HOST_MULTIARCH}
16
17 not_override_dh_install_since_there_is_no_static_lib:
18 dh_install
19 d-shlibmove --commit \
20 --multiarch \
21 --devunversioned \
22 --exclude-la \
23 --movedev debian/tmp/usr/include/* usr/include \
24 --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
25 debian/tmp/usr/lib/*/*.so
26 find debian -name "lib*.la" -delete