File: rules

package info (click to toggle)
mp3blaster 1%3A3.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,680 kB
  • sloc: cpp: 18,606; ansic: 1,452; sh: 959; makefile: 90
file content (27 lines) | stat: -rwxr-xr-x 717 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

DESTDIR=debian/mp3blaster
DEB_COMPRESS_EXCLUDE=commands.txt

export DEB_CXXFLAGS_MAINT_APPEND=-std=gnu++98

%:
	dh $@

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

.PHONY: override_dh_installdocs
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