| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow |
| 4 |
|
| 5 |
export DH_VERBOSE=1 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
./reconf |
| 12 |
dh_auto_configure |
| 13 |
|
| 14 |
override_dh_install: |
| 15 |
dh_install |
| 16 |
find debian -name "*.la" -delete |
| 17 |
# To let this work library package needs to be renamed to libgtextutils-0.7-0 |
| 18 |
# But renaming is a lot of effort for limited purpose |
| 19 |
# Once there might be a stronger reason to rename the debian/*.install files can be removed |
| 20 |
# d-shlibmove --commit \ |
| 21 |
# --multiarch \ |
| 22 |
# --devunversioned \ |
| 23 |
# --exclude-la \ |
| 24 |
# --movedev debian/tmp/usr/gtextutils/gtextutils usr/include \ |
| 25 |
# --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \ |
| 26 |
# debian/tmp/usr/lib/*/*.so |