File: rules

package info (click to toggle)
plink1.9 1.90~b6.21-201019-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,728 kB
  • sloc: ansic: 127,408; cpp: 1,108; makefile: 140; sh: 30
file content (32 lines) | stat: -rwxr-xr-x 888 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
32
#!/usr/bin/make -f

export ZLIB = -lz
export LDFLAGS = -lm -lpthread -ldl `dpkg-buildflags --get LDFLAGS`

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND = -DSTABLE_BUILD -DDYNAMIC_ZLIB

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f plink1.9
	rm -f plink1.9.1

override_dh_auto_build:
	dh_auto_build
	mv plink plink1.9
# help2man 1.47.13 is not able anymore do generate a clean manpage for plink1.9
# which lead to several lintian warnings and more annoying the auto-generated
# manpage is installed by debhelper in the wrong section due to
# https://bugs.debian.org/958343
#	help2man --no-discard-stderr --name="whole genome SNP analysis" ./plink1.9 > plink1.9.1

override_dh_auto_install:

override_dh_installman:
	dh_installman debian/plink1.9.1

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream.docs/upstream.changelog