File: rules

package info (click to toggle)
music 1.0.7-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,312 kB
  • ctags: 2,300
  • sloc: cpp: 13,256; sh: 10,089; makefile: 231; ansic: 186
file content (17 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autotools_dev

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install

# Remove rpaths in libraries and binaries
	( cd $(CURDIR)/debian/tmp/usr/lib/*; chrpath -d libmusic.so libmusic-c.so )
	( cd $(CURDIR)/debian/tmp/usr/bin; chrpath -d eventcounter eventgenerator eventlogger eventselect eventsink eventsource music viewevents )

# Build manual
#	( cd $(CURDIR)/doc; make music-manual.pdf )