Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/default.mk
7
8 export CXX=mpiCC
9
10 %:
11 dh $@ --with python3
12
13 override_dh_auto_configure:
14 dh_auto_configure -- --enable-deb --with-python=python3
15
16 override_dh_auto_install:
17 $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
18
19 # Remove rpaths in libraries and binaries
20 ( cd $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH); chrpath -d libmusic.so libmusic-c.so )
21 ( cd $(CURDIR)/debian/tmp/usr/bin; chrpath -d contsink eventcounter eventgenerator eventlogger eventselect eventsink eventsource messagesource music viewevents )
22
23 # Build manual
24 # ( cd $(CURDIR)/doc; make music-manual.pdf )