File: rules

package info (click to toggle)
libgenome 1.3.1-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,172 kB
  • ctags: 1,213
  • sloc: cpp: 10,907; sh: 8,264; makefile: 80
file content (26 lines) | stat: -rwxr-xr-x 694 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
24
25
26
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

%:
	dh $@ --with autoreconf

override_dh_install:
	dh_install
	# Call d-shlibmove to comply with library packaging guide
	# mv debian/tmp/usr/include/*/* debian/tmp/usr/include/
	d-shlibmove --commit \
	            --v5 \
	            --multiarch \
		    --devunversioned \
		    --exclude-la \
		    --movedev debian/tmp/usr/include/* usr/include \
		    --movedev "debian/tmp/usr/lib/*/pkgconfig/*.pc" usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
		    debian/tmp/usr/lib/*/*.so

override_dh_auto_test:
	echo 'Disable test since some header (gnDNXSource.h) seems to be missing.'

get-orig-source:
	. debian/get-orig-source