| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto_test-indep: |
| 13 |
|
| 14 |
override_dh_auto_test-arch: |
| 15 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 16 |
cd obj-* && ln -s src/toolkit/ bin |
| 17 |
dh_auto_test --arch |
| 18 |
endif |
| 19 |
|
| 20 |
override_dh_auto_build-indep: |
| 21 |
cp docs/Doxyfile docs/Doxyfile.orig |
| 22 |
doxygen -u docs/Doxyfile |
| 23 |
doxygen docs/Doxyfile |
| 24 |
|
| 25 |
override_dh_auto_install-indep: |
| 26 |
|
| 27 |
override_dh_install-arch: |
| 28 |
dh_install --arch |
| 29 |
d-shlibmove --commit \ |
| 30 |
--multiarch \ |
| 31 |
--devunversioned \ |
| 32 |
--exclude-la \ |
| 33 |
--movedev debian/tmp/usr/include/* usr/include \ |
| 34 |
--movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \ |
| 35 |
debian/tmp/usr/lib/*/*.so |
| 36 |
|
| 37 |
override_dh_install-indep: |
| 38 |
dh_install --indep |
| 39 |
rm -f debian/libbamtools-doc/usr/share/doc/libbamtools-dev/html/jquery.js |
| 40 |
ln -s /usr/share/javascript/jquery/jquery.js debian/libbamtools-doc/usr/share/doc/libbamtools-dev/html/jquery.js |
| 41 |
|
| 42 |
describe-current-version: |
| 43 |
git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;' |
| 44 |
|
| 45 |
execute_after_dh_auto_clean: |
| 46 |
test ! -f docs/Doxyfile.orig || mv docs/Doxyfile.orig docs/Doxyfile |