File: rules

package info (click to toggle)
ispell-lt 1.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,980 kB
  • sloc: perl: 3,675; python: 854; makefile: 337; sh: 155; awk: 56; xml: 6
file content (28 lines) | stat: -rwxr-xr-x 598 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
23
24
25
26
27
28
#!/usr/bin/make -f

%:
	dh $@

# build myspell data under specific locale, needed to properly sort
override_dh_auto_build:
	mkdir -p debian/locale
	localedef -i lt_LT -f ISO-8859-13 debian/tmp_locale
	LOCPATH=debian/locale LC_ALL=lt_LT.ISO-8859-13 $(MAKE) myspell

	gzip -cn9 lietuviu.dict > lietuviu.mwl.gz
	cp lietuviu.dict lt.wl
	prezip lt.wl
	gzip -n9 lt.cwl

	$(MAKE) aspell

override_dh_auto_install:
override_dh_install:
	dh_install

	installdeb-ispell -pilithuanian
	installdeb-aspell -paspell-lt

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/ilithuanian/usr/lib/ispell/lietuviu.aff