File: rules

package info (click to toggle)
hunspell-se 1.0~beta6.20081222-1.2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 25,456 kB
  • ctags: 5
  • sloc: makefile: 34
file content (21 lines) | stat: -rwxr-xr-x 590 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk

build/hunspell-se::
	sed 	-e 's/65529/65503/g' \
		-e 's/65530/65504/g' \
		-e 's/65531/65505/g' \
		-e 's/65532/65506/g' \
		-e 's/65533/65507/g' \
		-e 's/65534/65508/g' \
		-e 's/65535/65509/g' se.aff > se.aff.debian

install/hunspell-se::
	$(MAKE) install DICTDIR=/usr/share/hunspell DESTDIR=$(DEB_DESTDIR)
	install -m 644 se.aff.debian $(DEB_DESTDIR)/usr/share/hunspell/se.aff
	rm -f $(DEB_DESTDIR)/usr/share/hunspell/dictionary.lst

clean/hunspell-se::
	rm -f se.aff.debian