| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
DESTDIR=debian/mp3blaster |
| 4 |
DEB_COMPRESS_EXCLUDE=commands.txt |
| 5 |
|
| 6 |
export DEB_CXXFLAGS_MAINT_APPEND=-std=gnu++98 |
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
dh_auto_configure -- --datadir=/usr/share/doc |
| 15 |
|
| 16 |
override_dh_installdocs: |
| 17 |
rm $(DESTDIR)/usr/share/man/man1/splay.1 |
| 18 |
rm $(DESTDIR)/usr/bin/splay |
| 19 |
dh_installdocs |
| 20 |
install -m 644 nmixer/ChangeLog \ |
| 21 |
$(DESTDIR)/usr/share/doc/mp3blaster/changelog.nmixer |
| 22 |
|
| 23 |
override_dh_installexamples: |
| 24 |
dh_installexamples |
| 25 |
# Remove example Makefile as it contains embedded build paths |
| 26 |
# and binary paths, making builds unreproducible. |
| 27 |
rm -f $(DESTDIR)/usr/share/doc/mp3blaster/examples/charmap/Makefile |
| 28 |
|
| 29 |
override_dh_compress: |
| 30 |
dh_compress -X.txt |