Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 # TODO: fix code instead!
6 export DEB_CFLAGS_MAINT_APPEND = -Wno-address-of-packed-member
7
8 # drop obsolete libtool linker files before debhelper notices and complains
9 execute_before_dh_install:
10 find debian/tmp -name '*.la' -print -delete
11
12 # Let d-shlibs calculate development package dependencies
13 # and handle shared library install
14 execute_after_dh_install:
15 d-shlibmove --commit \
16 --devunversioned \
17 --exclude-la \
18 --multiarch \
19 --movedev "debian/tmp/usr/include/*" usr/include/ \
20 --movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
21 usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
22 debian/tmp/usr/lib/*/*.so
23
24 %:
25 dh $@ --with pkgkde_symbolshelper