~ubuntu-branches/ubuntu/feisty/aspell-mr/feisty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Soumyadip Modak
  • Date: 2005-09-23 23:39:29 UTC
  • Revision ID: james.westby@ubuntu.com-20050923233929-w8oevd9d8ecoftvw
Tags: 0.10-1
Initial Release. (Closes: #330358)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
 
 
5
DICT_LANG := mr
 
6
 
 
7
install/aspell-$(DICT_LANG)::
 
8
        set -e; \
 
9
        for f in *.cwl; do \
 
10
            gzip -9 -c "$$f" > "$(DEB_DESTDIR)/usr/share/aspell/"$$f".gz"; \
 
11
            WL=`echo $$f | sed 's/\.cwl$$//'`; \
 
12
            touch "$(DEB_DESTDIR)/var/lib/aspell/$$WL.rws"; \
 
13
            dh_link "var/lib/aspell/$$WL.rws" "usr/lib/aspell/$$WL.rws"; \
 
14
            echo "$$WL" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"; \
 
15
        done
 
16
 
 
17
        touch $(DEB_DESTDIR)/var/lib/aspell/$(DICT_LANG).compat
 
18
 
 
19
        installdeb-aspell