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
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DH_VERBOSE=1
%:
dh $@
override_dh_auto_configure:
./reconf
dh_auto_configure
override_dh_install:
dh_install
find debian -name "*.la" -delete
# To let this work library package needs to be renamed to libgtextutils-0.7-0
# But renaming is a lot of effort for limited purpose
# Once there might be a stronger reason to rename the debian/*.install files can be removed
# d-shlibmove --commit \
# --multiarch \
# --devunversioned \
# --exclude-la \
# --movedev debian/tmp/usr/gtextutils/gtextutils usr/include \
# --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
# debian/tmp/usr/lib/*/*.so
|