File: rules

package info (click to toggle)
mp3blaster 1%3A3.2.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,692 kB
  • sloc: cpp: 18,606; ansic: 1,452; sh: 959; makefile: 91
file content (30 lines) | stat: -rwxr-xr-x 740 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

DESTDIR=debian/mp3blaster
DEB_COMPRESS_EXCLUDE=commands.txt

export DEB_CXXFLAGS_MAINT_APPEND=-std=gnu++98

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --datadir=/usr/share/doc

override_dh_installdocs:
	rm $(DESTDIR)/usr/share/man/man1/splay.1
	rm $(DESTDIR)/usr/bin/splay
	dh_installdocs
	install -m 644 nmixer/ChangeLog \
		$(DESTDIR)/usr/share/doc/mp3blaster/changelog.nmixer

override_dh_installexamples:
	dh_installexamples
	# Remove example Makefile as it contains embedded build paths
	# and binary paths, making builds unreproducible.
	rm -f $(DESTDIR)/usr/share/doc/mp3blaster/examples/charmap/Makefile

override_dh_compress:
	dh_compress -X.txt