File: rules

package info (click to toggle)
ffmpegfs 2.2-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 11,044 kB
  • sloc: cpp: 15,932; sh: 4,644; ansic: 411; makefile: 204; php: 53
file content (23 lines) | stat: -rwxr-xr-x 554 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
#!/usr/bin/make -f

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

# 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: