File: rules

package info (click to toggle)
libvoikko 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,148 kB
  • ctags: 3,406
  • sloc: cpp: 16,464; sh: 4,839; python: 2,071; cs: 1,172; java: 1,160; xml: 996; lisp: 381; makefile: 370; ansic: 181
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: