File: rules

package info (click to toggle)
mp3blaster 1%3A3.2.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,752 kB
  • ctags: 1,934
  • sloc: cpp: 18,558; ansic: 1,452; sh: 701; makefile: 87
file content (21 lines) | stat: -rwxr-xr-x 689 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/autotools.mk

DESTDIR=$(CURDIR)/debian/mp3blaster

DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --mandir=/usr/share/man --datadir=/usr/share/doc
DEB_MAKE_INSTALL_TARGET=DESTDIR=$(DESTDIR) install
DEB_COMPRESS_EXCLUDE=commands.txt
DEB_OPT_FLAG=-O2 -fno-strength-reduce

common-install-arch::
	rm $(DESTDIR)/usr/share/man/man1/splay.1
	rm $(DESTDIR)/usr/bin/splay 

	dh_installdocs doc/commands.txt
	dh_installexamples doc/charmap doc/sample.mp3blasterrc
	install -m 644 nmixer/ChangeLog \
		$(DESTDIR)/usr/share/doc/mp3blaster/changelog.nmixer