File: rules

package info (click to toggle)
ffmpegfs 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,360 kB
  • sloc: cpp: 20,671; sh: 4,828; ansic: 325; makefile: 231; php: 53
file content (26 lines) | stat: -rwxr-xr-x 620 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

# Pull in DEBIAN_VERSION variable
include /usr/share/dpkg/pkg-info.mk

# Get the Debian version revision:
DEB_REVISION := $(word 2, $(subst -, ,$(DEB_VERSION)))

CONFIG := --with-extra-version="$(DEB_REVISION)"

%:
	dh $@

# Configure with revision
override_dh_auto_configure:
	dh_auto_configure -- $(CONFIG)

# Disable tests for now, problems will be fixed up stream
# Also should declare a test suite, see  testsuite-autopkgtest-missing
override_dh_auto_test: