File: rules

package info (click to toggle)
zh-autoconvert 0.3.16-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,612 kB
  • sloc: ansic: 28,053; perl: 264; makefile: 84; python: 9
file content (22 lines) | stat: -rwxr-xr-x 615 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include /usr/share/dpkg/architecture.mk

# Use a triplet-prefixed pkg-config to solve #853882
export PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config

%:
	dh $@ --no-parallel

override_dh_missing:
	# remove xchat plugins, they uses the XChat 1.x Plugin
	# Interface that became obsolete decades ago.
	rm -f debian/*/usr/lib/zh-autoconvert/xchat-*.so
	dh_missing --fail-missing