File: rules

package info (click to toggle)
giella-sme 0.0.20150917~r121176-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 157,764 kB
  • sloc: xml: 137,879; sh: 1,813; makefile: 754; sed: 210; perl: 123
file content (22 lines) | stat: -rwxr-xr-x 714 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 -*-

#export DH_VERBOSE=1
export DH_OPTIONS
export LC_ALL=C.UTF-8

PKGNAME=giella-sme
TPATH=debian/tmp/usr

%:
	dh $@ --no-parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-hfst --without-xfst --enable-spellers --enable-hyperminimisation --disable-minimised-spellers --enable-syntax --enable-analysers --enable-generators --enable-apertium

override_dh_auto_install:
	dh_auto_install
	grep -v '^libdir=' $(TPATH)/share/pkgconfig/$(PKGNAME).pc > $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new
	mv -v $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new $(TPATH)/share/pkgconfig/$(PKGNAME).pc
	cp -av $(TPATH)/lib/*/voikko $(TPATH)/share/
	rm -rfv $(TPATH)/lib