File: rules

package info (click to toggle)
ibus-anthy 1.5.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,020 kB
  • sloc: python: 12,887; makefile: 516; sh: 321; ansic: 264
file content (22 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download | duplicates (3)
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
# To enable all, uncomment following line
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =

%:
	dh  $@ --with python3

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh -- --with-python=python3

override_dh_auto_configure:
	dh_auto_configure -- --with-layout='default' --with-python=python3

override_dh_install:
	dh_install -X.la -X.pyc -X.pyo
	find . -name "*.la" -delete

override_dh_auto_test:
	# we do not make test for now since it needs
	# a running ibus-daemon instance