File: rules

package info (click to toggle)
libvoikko 4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,756 kB
  • sloc: cpp: 12,614; sh: 4,839; python: 2,068; java: 1,256; cs: 1,172; lisp: 489; makefile: 327; ansic: 184; xml: 107
file content (18 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --fail-missing --with python3,autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-dictionary-path=/usr/lib/voikko:/usr/share/voikko

override_dh_auto_install:
	dh_auto_install
	install -m 644 -D python/libvoikko.py debian/python3-libvoikko/usr/lib/python3/dist-packages/libvoikko.py
	# Remove libtool-like files
	find . -name '*.la' -exec rm -f {} ';'

override_dh_auto_test: