File: rules

package info (click to toggle)
mouseemu 0.15-10
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 500 kB
  • ctags: 637
  • sloc: ansic: 8,221; sh: 78; makefile: 31
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

%:
	dh  $@

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:i386:amd64:armhf:))
dmidecode := dmidecode
else
dmidecode :=
endif

override_dh_gencontrol:
	dh_gencontrol -- -V'dmidecode-depends=$(dmidecode)'