File: rules

package info (click to toggle)
blimps 3.9%2Bds-4
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 7,204 kB
  • sloc: ansic: 43,276; csh: 553; perl: 116; makefile: 100; cs: 27; cobol: 23
file content (31 lines) | stat: -rwxr-xr-x 693 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
27
28
29
30
31
#!/usr/bin/make -f

# In order to make dh verbose set this to 1:
# export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# Workaround build failures with gcc-14.
export DEB_CFLAGS_MAINT_APPEND=-Wno-error=implicit-int

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- prefix=/usr
	find debian/tmp -name LICENSE -delete

override_dh_install:
	dh_install
	d-shlibmove --commit \
		    --multiarch \
		    --movedev debian/tmp/usr/include/* usr/include \
		    debian/tmp/usr/lib/*.so


override_dh_clean:
	dh_clean blimps/deps.mk

manpage:
	pod2man -c 'User Commands' -r "$(DEB_VERSION_UPSTREAM)" debian/fastaseqs.pod > debian/fastaseqs.1