File: rules

package info (click to toggle)
pilercr 1.06%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 844 kB
  • sloc: cpp: 14,339; makefile: 67; sh: 36
file content (24 lines) | stat: -rwxr-xr-x 619 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dpkg-architecture -f -a$(DEB_BUILD_ARCH) -c dh_auto_build -- 'GPP=$$(CXX)'
	help2man ./pilercr \
	    --name 'software for finding CRISPR repeats' \
	    --help-option '-options' --no-discard-stderr \
            --version-string ${DEB_VERSION_UPSTREAM} \
	    --no-info > pilercr.1
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
	$(RM) pilercr *.o
	dh_auto_build -- 'GPP=$$(CXX)'
endif

override_dh_auto_clean:
	rm -f *.o pilercr pilercr.1