File: rules

package info (click to toggle)
libx86emu 1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,132 kB
  • ctags: 899
  • sloc: ansic: 11,013; perl: 625; makefile: 87; sh: 14
file content (27 lines) | stat: -rwxr-xr-x 652 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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')

# disable tests
override_dh_auto_test:

%:
	dh $@

override_dh_install:
	dh_install --fail-missing

override_dh_installchangelogs:
	dh_installchangelogs debian/CHANGELOG

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