| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
DICT_LANG = ar-large |
| 4 |
BASEDIR = `pwd`/debian/aspell-ar-large |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
./configure |
| 11 |
cp ar.cwl ar-large.cwl |
| 12 |
cp debian/ar-large.dat . |
| 13 |
cp ar_affix.dat ar-large_affix.dat |
| 14 |
cp l-ar.cset l-ar-large.cset |
| 15 |
cp l-ar.cmap l-ar-large.cmap |
| 16 |
|
| 17 |
override_dh_auto_clean: |
| 18 |
[ ! -f Makefile ] || $(MAKE) distclean |
| 19 |
rm -f Makefile |
| 20 |
rm -f ar-large.cwl |
| 21 |
rm -f ar-large.dat |
| 22 |
rm -f ar-large_affix.dat |
| 23 |
rm -f l-ar-large.cset |
| 24 |
rm -f l-ar-large.cmap |
| 25 |
dh_clean |
| 26 |
|
| 27 |
override_dh_auto_install: |
| 28 |
cp debian/arabic-large.alias debian/ar-large.multi debian/ar-large.dat . |
| 29 |
$(MAKE) DESTDIR=$(BASEDIR) install |
| 30 |
rm -f $(BASEDIR)/usr/lib/aspell/ar-large.rws |
| 31 |
gzip -9cn ar-large.cwl > $(BASEDIR)/usr/share/aspell/ar-large.cwl.gz |
| 32 |
installdeb-aspell |