File: rules

package info (click to toggle)
libbpp-phyl 2.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,548 kB
  • sloc: cpp: 50,397; makefile: 13; perl: 6
file content (20 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF

%:
	dh $@

override_dh_install:
	dh_install
	d-shlibmove --commit \
		    --multiarch \
		    --devunversioned \
		    --exclude-la \
                    --movedev debian/tmp/usr/include/* usr/include \
                    --movedev debian/tmp/usr/lib/*/cmake usr/lib/$(DEB_HOST_MULTIARCH) \
                    debian/tmp/usr/lib/*/*.so