File: rules

package info (click to toggle)
hunspell-ca 3.0.9%2Brepack1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,404 kB
  • sloc: sh: 50; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 693 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

HUNSPELL_DESTDIR = debian/hunspell-ca/usr/share/hunspell

# main packaging script based on dh7 syntax
%:
	dh $@

override_dh_auto_install:
	mkdir -p $(HUNSPELL_DESTDIR)
	install -m 0644 catalan.aff $(HUNSPELL_DESTDIR)/ca.aff
	install -m 0644 catalan.dic $(HUNSPELL_DESTDIR)/ca.dic
	install -m 0644 catalan-valencia.aff $(HUNSPELL_DESTDIR)/ca_ES-valencia.aff
	install -m 0644 catalan-valencia.dic $(HUNSPELL_DESTDIR)/ca_ES-valencia.dic
	installdeb-hunspell -phunspell-ca
	installdeb-myspell -phunspell-ca --bdic-only --srcdir=$(HUNSPELL_DESTDIR)