File: rules

package info (click to toggle)
coinutils 2.11.11%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,804 kB
  • sloc: cpp: 72,860; sh: 8,796; makefile: 272
file content (28 lines) | stat: -rwxr-xr-x 708 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
25
26
27
28
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

ifeq ($(origin F77),default)
F77 := $(DEB_HOST_GNU_TYPE)-gfortran
endif

%:
	dh $@ --without autoreconf

override_dh_auto_configure:
	F77='$(F77)' \
	./configure --prefix=/usr --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
		--enable-static --enable-dot --enable-dependency-linking

override_dh_auto_build-indep:
	dh_auto_build -- doxydoc
	$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map

# No tests needed for documentation
override_dh_auto_test-indep:

# Nothing to install for documentation
override_dh_auto_install-indep: