File: rules

package info (click to toggle)
music 1.1.16-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 5,460 kB
  • sloc: cpp: 26,650; sh: 5,707; python: 427; makefile: 402; ansic: 206
file content (22 lines) | stat: -rwxr-xr-x 680 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
#!/usr/bin/make -f

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

include /usr/share/dpkg/default.mk

%:
	dh $@ --parallel --with python3

override_dh_auto_configure:
	dh_auto_configure -- --enable-deb --with-python=python3

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

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

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