File: rules

package info (click to toggle)
mothur 1.41.21-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 12,892 kB
  • sloc: cpp: 163,600; makefile: 84; sh: 29
file content (37 lines) | stat: -rwxr-xr-x 946 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
35
36
37
#!/usr/bin/make -f
# Sample debian/rules for mothur
# Andreas Tille <tille@debian.org>

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

ARCHBITS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)

ifeq ($(ARCHBITS),64)
	64BIT_VERSION=yes
else
	64BIT_VERSION=no
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- 64BIT_VERSION=$(64BIT_VERSION)

override_dh_auto_install:
	true

#Cleaning needs help right now
override_dh_auto_clean:
	rm -f mothur
	make clean
	( cd source/uchime_src && rm -f *.o mk.stdout mk.stderr tmp.stderr )

override_dh_dwz:
	echo Do not run dh_dwz due to:
	echo "   dwz: Too few files for multifile optimization"
	echo "   objcopy: 'debian/mothur/usr/lib/debug/.dwz/x86_64-linux-gnu/mothur.debug': No such file"
	echo "   dh_dwz: objcopy --compress-debug-sections debian/mothur/usr/lib/debug/.dwz/x86_64-linux-gnu/mothur.debug returned exit code 1"