File: rules

package info (click to toggle)
allelecount 4.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,876 kB
  • sloc: ansic: 1,242; perl: 333; sh: 257; makefile: 68
file content (34 lines) | stat: -rwxr-xr-x 776 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
33
34
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

# for hardening you might like to uncomment this:
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean --sourcedirectory=c
	dh_auto_clean --sourcedirectory=perl

override_dh_auto_configure:
	dh_auto_configure --sourcedirectory=c
	dh_auto_configure --sourcedirectory=perl

override_dh_auto_build:
	dh_auto_build --sourcedirectory=c --no-parallel
	dh_auto_build --sourcedirectory=perl

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test --sourcedirectory=c
	dh_auto_test --sourcedirectory=perl
endif

override_dh_auto_install:
	dh_auto_install --sourcedirectory=c
	dh_auto_install --sourcedirectory=perl