File: rules

package info (click to toggle)
parsnp 1.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,288 kB
  • sloc: cpp: 3,859; python: 1,243; ansic: 937; makefile: 22; sh: 21
file content (23 lines) | stat: -rwxr-xr-x 616 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
23
#!/usr/bin/make -f

# DH_VERBOSE := 1

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with python2

override_dh_auto_configure:
	dh_auto_configure -- --with-libmuscle=/usr/include/libMUSCLE-3.7

override_dh_auto_install:
	dh_auto_install
	# The actual user interface is the Python script so move the binary to /usr/lib
	mkdir -p debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
	mv debian/$(DEB_SOURCE)/usr/bin/$(DEB_SOURCE) debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)/template.ini