File: rules

package info (click to toggle)
aspell-tl 0.4-0-23
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: sh: 61; makefile: 21
file content (35 lines) | stat: -rwxr-xr-x 741 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
34
35
#!/usr/bin/make -f
# -*- makefile -*-

# Make sure build is always done in a reproducible and working
# language environment
LC_ALL = C
export LC_ALL
APKG = aspell-tl
MPKG = myspell-tl

%:
	dh $@

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_auto_configure: # No configuration needed

override_dh_auto_build:
	gzip -nc --best < tl.cwl > tl.cwl.gz
	preunzip < tl.cwl > tl.dic.debian0
	( echo `cat tl.dic.debian0 | wc -l `; cat tl.dic.debian0 ) > tl_PH.dic
	cp tl_PH.dic tl.dic
	cp tl_affix.dat tl.aff


override_dh_auto_clean:
	rm -f tl.cwl.gz tl.dic.debian0 tl_PH.dic
	rm -f tl.dic tl.aff
	dh_auto_clean

override_dh_auto_install:
	installdeb-aspell   -p$(APKG)
	installdeb-hunspell -p$(MPKG)
	dh_auto_install