File: rules

package info (click to toggle)
ibus-qt 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,116 kB
  • ctags: 2,810
  • sloc: cpp: 12,808; xml: 431; python: 31; makefile: 11; sh: 7
file content (22 lines) | stat: -rwxr-xr-x 630 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
#DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT
# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
            -DLIBDIR=lib/$(DEB_HOST_MULTIARCH)

override_dh_makeshlibs:
	        dh_makeshlibs -Nibus-qt4