File: rules

package info (click to toggle)
libx86emu 3.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,244 kB
  • sloc: ansic: 11,621; perl: 949; makefile: 92; sh: 14
file content (27 lines) | stat: -rwxr-xr-x 592 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
#!/usr/bin/make -f
# -*- makefile -*-

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

include /usr/share/dpkg/architecture.mk
export LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

include /usr/share/dpkg/pkg-info.mk
VERSION ?= $(shell echo '$(DEB_VERSION)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')

# disable tests
override_dh_auto_test:

%:
	dh $@

override_dh_missing:
	dh_missing --fail-missing

override_dh_installchangelogs:
	dh_installchangelogs debian/CHANGELOG

changelog:
	./debian/gen-upstream-changelog.sh $(VERSION)