File: Makefile.pre

package info (click to toggle)
aspell-en 6.0-0-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 908 kB
  • ctags: 3
  • sloc: sh: 61; makefile: 22
file content (96 lines) | stat: -rw-r--r-- 3,767 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Generated with Aspell Dicts "proc" script version 0.60.2

lang = en
version = 6.0-0

cwl_files = en-common.cwl en-variant_0.cwl en-variant_1.cwl en-variant_2.cwl en_CA-w_accents-only.cwl en_CA-wo_accents-only.cwl en_GB-ise-w_accents-only.cwl en_GB-ise-wo_accents-only.cwl en_GB-ize-w_accents-only.cwl en_GB-ize-wo_accents-only.cwl en_US-w_accents-only.cwl en_US-wo_accents-only.cwl
data_files = en.dat en_phonet.dat en_affix.dat
doc_files = README README.iso Copyright
extra_files = configure info Makefile.pre
multi_files = american.alias american-w_accents.alias american-wo_accents.alias british.alias british-ise.alias british-ise-w_accents.alias british-ise-wo_accents.alias british-ize.alias british-ize-w_accents.alias british-ize-wo_accents.alias british-w_accents.alias british-wo_accents.alias canadian.alias canadian-w_accents.alias canadian-wo_accents.alias en.multi en-variant_0.multi en-variant_1.multi en-variant_2.multi en-w_accents.multi en-wo_accents.multi en_CA.multi en_CA-w_accents.multi en_CA-wo_accents.multi en_GB.multi en_GB-ise.multi en_GB-ise-w_accents.multi en_GB-ise-wo_accents.multi en_GB-ize.multi en_GB-ize-w_accents.multi en_GB-ize-wo_accents.multi en_GB-w_accents.multi en_GB-wo_accents.multi en_US.multi en_US-w_accents.multi en_US-wo_accents.multi english.alias english-variant_0.alias english-variant_1.alias english-variant_2.alias english-w_accents.alias english-wo_accents.alias
rws_files = en-common.rws en-variant_0.rws en-variant_1.rws en-variant_2.rws en_CA-w_accents-only.rws en_CA-wo_accents-only.rws en_GB-ise-w_accents-only.rws en_GB-ise-wo_accents-only.rws en_GB-ize-w_accents-only.rws en_GB-ize-wo_accents-only.rws en_US-w_accents-only.rws en_US-wo_accents-only.rws

distdir=aspell6-${lang}-${version}

all: ${rws_files} ${data_files}

install: all
	mkdir -p ${DESTDIR}${dictdir}/
	cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
	cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
	mkdir -p ${DESTDIR}${datadir}/
	cp ${data_files} ${DESTDIR}${datadir}/
	cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}

clean:
	rm -f ${rws_files}

distclean: clean
	rm -f Makefile

maintainer-clean: distclean
	rm -f ${multi_files} configure Makefile.pre

uninstall:
	-cd ${DESTDIR}${dictdir}/ && rm ${rws_files} ${multi_files} ${link_files}
	-cd ${DESTDIR}${datadir}/ && rm ${data_files}

dist: ${cwl_files}
	perl proc
	./configure
	@make dist-nogen

dist-nogen:
	-rm -r ${distdir}.tar.bz2 ${distdir}
	mkdir ${distdir}
	cp -p ${extra_files} ${cwl_files} ${multi_files} ${doc_files} ${data_files} ${distdir}/
	-test -e doc  && mkdir ${distdir}/doc  && chmod 755 ${distdir}/doc  && cp -pr doc/* ${distdir}/doc/
	-test -e misc && mkdir ${distdir}/misc && chmod 755 ${distdir}/misc && cp -pr misc/* ${distdir}/misc/
	tar cf ${distdir}.tar ${distdir}/
	bzip2 -9 ${distdir}.tar
	rm -r ${distdir}/

distcheck:
	tar xfj ${distdir}.tar.bz2
	cd ${distdir} && ./configure && make

rel:
	mv ${distdir}.tar.bz2 ../rel


en-common.rws: en-common.cwl

en-variant_0.rws: en-variant_0.cwl

en-variant_1.rws: en-variant_1.cwl

en-variant_2.rws: en-variant_2.cwl

en_CA-w_accents-only.rws: en_CA-w_accents-only.cwl

en_CA-wo_accents-only.rws: en_CA-wo_accents-only.cwl

en_GB-ise-w_accents-only.rws: en_GB-ise-w_accents-only.cwl

en_GB-ise-wo_accents-only.rws: en_GB-ise-wo_accents-only.cwl

en_GB-ize-w_accents-only.rws: en_GB-ize-w_accents-only.cwl

en_GB-ize-wo_accents-only.rws: en_GB-ize-wo_accents-only.cwl

en_US-w_accents-only.rws: en_US-w_accents-only.cwl

en_US-wo_accents-only.rws: en_US-wo_accents-only.cwl


.SUFFIXES: .cwl .rws .wl

.cwl.rws:
	${PREZIP} -d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=en create master ./$@

.wl.cwl:
	cat $< | LC_COLLATE=C sort -u | ${PREZIP} -z > $@

.pz:
	${PREZIP} -d < $< > $@