File: rules

package info (click to toggle)
libcpuid 0.7.1%2Brepack1-0.2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,692 kB
  • sloc: ansic: 11,829; python: 1,181; asm: 306; makefile: 118; sh: 87; cpp: 80
file content (27 lines) | stat: -rwxr-xr-x 668 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

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

NULL  =
PKD   = $(word 2, abspath $(dir $(MAKEFILE_LIST)))
PKG   = $(DEB_SOURCE)
UVER  = $(shell echo $(DEB_VERSION) | cut -d "-" -f1)
DTYPE = +repack1
VER  ?= $(subst $(DTYPE),,$(UVER))

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

# disabling test engine (as it is driven by Python2.7,
# about to be removed from Debian)
override_dh_auto_test:

override_dh_missing:
	dh_missing --fail-missing

get-orig-source:
	uscan --no-conf --force-download --rename --download-version $(VER) --repack --compression xz --destdir=.. --verbose