File: Makefile

package info (click to toggle)
ispell-czech 20040229-5.2
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 3,588 kB
  • ctags: 5
  • sloc: perl: 703; makefile: 76; sh: 43
file content (26 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (6)
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
26
.SUFFIXES:
.SUFFIXES: .hash .a-z .cat
.PRECIOUS: %.a-z

LANGUAGE	= czech
ISPELLDIR	= $(TOPDIR)/usr/lib/ispell
CZECHSOURCES	= hlavni.cat nepravid.cat nesklon.cat zajmena.cat \
			cislovk.cat prislovc.cat predlozk.cat spojky.cat \
			citoslov.cat castice.cat zkratky.cat nezaraz.cat \
			krestni.cat prijmeni.cat narstjaz.cat \
			obce.cat geogr.cat jmena.cat hovor.cat chybej.cat

all: $(LANGUAGE).hash

.a-z.hash:
	buildhash $(LANGUAGE).a-z $(LANGUAGE).aff $(LANGUAGE).hash

install:
	[ -d $(ISPELLDIR) ] || mkdir -p $(ISPELLDIR)
	install -o 0 -g 0 -m 644 ./$(LANGUAGE).aff $(ISPELLDIR)
	install -o 0 -g 0 -m 644 ./$(LANGUAGE).hash $(ISPELLDIR)
	rm -f ./$(LANGUAGE).hash

czech.a-z: $(CZECHSOURCES)
	rm -f czech.a-z
	perl glob.p $(CZECHSOURCES) | LC_ALL=C sort -u > czech.a-z