Holger Hans Peter Freyther | d17b189 | 2016-03-18 20:13:23 +0100 | [diff] [blame] | 1 | #!/usr/bin/make -f |
| 2 | |
Max | 833e97e | 2017-01-24 15:14:32 +0100 | [diff] [blame] | 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
Holger Hans Peter Freyther | d17b189 | 2016-03-18 20:13:23 +0100 | [diff] [blame] | 4 | |
| 5 | %: |
| 6 | dh $@ --with autoreconf |
| 7 | |
| 8 | override_dh_shlibdeps: |
| 9 | dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info |
| 10 | |
Harald Welte | 96f0f2c | 2018-04-28 14:18:23 +0200 | [diff] [blame] | 11 | override_dh_auto_configure: |
Oliver Smith | f1ce0e7 | 2024-03-18 11:34:57 +0100 | [diff] [blame^] | 12 | dh_auto_configure -- \ |
| 13 | --enable-manuals \ |
| 14 | --with-systemdsystemunitdir=/lib/systemd/system \ |
| 15 | --with-ipc \ |
| 16 | --with-lms \ |
| 17 | --with-uhd \ |
| 18 | --with-usrp1 \ |
| 19 | $(NULL) |
Harald Welte | 96f0f2c | 2018-04-28 14:18:23 +0200 | [diff] [blame] | 20 | |
Holger Hans Peter Freyther | d17b189 | 2016-03-18 20:13:23 +0100 | [diff] [blame] | 21 | override_dh_strip: |
| 22 | dh_strip --dbg-package=osmo-trx-dbg |
Oliver Smith | 76a5013 | 2019-05-22 14:10:01 +0200 | [diff] [blame] | 23 | |
| 24 | # Don't create .pdf.gz files (barely saves space and they can't be opened directly by most pdf readers) |
| 25 | override_dh_compress: |
| 26 | dh_compress -X.pdf |