| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 5 |
|
| 6 |
export QT_SELECT=qt5 |
| 7 |
|
| 8 |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
./configure --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr |
| 15 |
|
| 16 |
override_dh_auto_install: |
| 17 |
install -d $(CURDIR)/debian/midisnoop/usr/bin/ |
| 18 |
install -m 755 -p $(CURDIR)/$(DEB_BUILD_GNU_TYPE)/bin/midisnoop $(CURDIR)/debian/midisnoop/usr/bin/midisnoop |
| 19 |
install -d $(CURDIR)/debian/midisnoop/usr/share/pixmaps/ |
| 20 |
install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/midisnoop/usr/share/pixmaps/ |