File: rules

package info (click to toggle)
aspell-fa 0.11-0-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,688 kB
  • sloc: sh: 61; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 1,080 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
#!/usr/bin/make -f

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

DICT_LANG := fa

install/aspell-$(DICT_LANG)::
	touch $(DEB_DESTDIR)/var/lib/aspell/fa.compat

	gzip -9 -c fa-common.cwl > "$(DEB_DESTDIR)/usr/share/aspell/fa-common.cwl.gz"
	echo "fa-common" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"
	touch $(DEB_DESTDIR)/var/lib/aspell/fa-common.rws
	ln -sf /var/lib/aspell/fa-common.rws $(DEB_DESTDIR)/usr/lib/aspell/fa-common.rws

	gzip -9 -c fa-generic.cwl > "$(DEB_DESTDIR)/usr/share/aspell/fa-generic.cwl.gz"
	echo "fa-generic" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"
	touch $(DEB_DESTDIR)/var/lib/aspell/fa-generic.rws
	ln -sf /var/lib/aspell/fa-generic.rws $(DEB_DESTDIR)/usr/lib/aspell/fa-generic.rws

	gzip -9 -c fa-scientific.cwl > "$(DEB_DESTDIR)/usr/share/aspell/fa-scientific.cwl.gz"
	echo "fa-scientific" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"
	touch $(DEB_DESTDIR)/var/lib/aspell/fa-scientific.rws
	ln -sf /var/lib/aspell/fa-scientific.rws $(DEB_DESTDIR)/usr/lib/aspell/fa-scientific.rws

	installdeb-aspell