File: rules

package info (click to toggle)
fsa 1.15.9%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 4,744 kB
  • sloc: cpp: 39,490; sh: 4,528; perl: 2,426; makefile: 1,291; ansic: 554
file content (30 lines) | stat: -rwxr-xr-x 883 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
#!/usr/bin/make -f

# DH_VERBOSE := 1

include /usr/share/dpkg/default.mk

mandir=$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1
bindir=$(CURDIR)/debian/$(DEB_SOURCE)/usr/bin

HELP2MAN = help2man --no-info --version-string="$(DEB_VERSION_UPSTREAM)"

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

#override_dh_auto_configure:
#  htcondor is a bit complex to be configured and thus we delay this one
#	dh_auto_configure -- --enable-condor-compile
	    # found automatically: --with-mummer=/usr/bin/mummer --with-exonerate=/usr/bin/exonerate

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "Tests seem to miss some files:"
	echo "make[4]: *** No rule to make target 'apps/isect_d.unmappable.bash', needed by 'apps/isect_d.unmappable.bash.log'.  Stop."
endif

override_dh_install:
	dh_install
	mv $(bindir)/translate $(bindir)/fsa-translate