File: rules

package info (click to toggle)
4ti2 1.6.9%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 31,372 kB
  • sloc: cpp: 21,027; ansic: 3,894; makefile: 952; sh: 241; lisp: 97; sed: 16
file content (42 lines) | stat: -rwxr-xr-x 852 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
38
39
40
41
42
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

BUILDDIR=_BUILD

default:
	@uscan --no-conf --dehs --report || true

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -B $(BUILDDIR) -- \
		--libexecdir=/usr/libexec/$(DEB_HOST_MULTIARCH) \
		--srcdir=..

override_dh_auto_build-indep:
	$(MAKE) -C $(BUILDDIR)/doc

override_dh_auto_build-arch:
	dh_auto_build -a -B $(BUILDDIR)

override_dh_auto_test-indep:

override_dh_auto_test-arch:
	dh_auto_test -a -B $(BUILDDIR)

override_dh_auto_install-arch:
	dh_auto_install -a -B $(BUILDDIR)

override_dh_installchangelogs:
	dh_installchangelogs --keep NEWS

override_dh_compress:
	dh_compress -X.pdf -Xexamples

override_dh_missing:
	dh_missing -X.la