blob: 47228537706ef69768c0fc3e659e2802de65ecb0 (
plain)
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
|
--- ../apertium-oc-ca-1.0.5/Makefile.am 2008-07-21 13:02:56.000000000 +0200
+++ apertium-oc-ca-1.0.5/Makefile.am 2010-09-15 16:32:22.000000000 +0200
@@ -19,7 +19,7 @@
$(PREFIX2).autogen.bin $(PREFIX2b).autogen.bin \
$(PREFIX1).autopgen.bin $(PREFIX1b).autopgen.bin \
$(PREFIX2).autopgen.bin $(PREFIX2b).autopgen.bin modes
-
+
TARGETS = $(TARGETS_COMMON) $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \
$(PREFIX1b).t1x.bin $(PREFIX1b).t2x.bin $(PREFIX1b).t3x.bin \
$(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \
@@ -72,7 +72,7 @@
.deps/$(LANG2b).post.dix: $(BASENAME).post-$(LANG2).dix
xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).post-$(LANG2).dix >$@
-
+
$(PREFIX1).automorf.bin: .deps/$(LANG1).dix
apertium-validate-dictionary .deps/$(LANG1).dix
lt-comp lr .deps/$(LANG1).dix $@
@@ -136,7 +136,7 @@
$(PREFIX2b).autopgen.bin: .deps/$(LANG1b).post.dix
apertium-validate-dictionary .deps/$(LANG1b).post.dix
lt-comp lr .deps/$(LANG1b).post.dix $@
-
+
$(PREFIX1).t1x: $(BASENAME).$(PREFIX1).t1x
xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t1x > $@
apertium-validate-transfer $@
@@ -168,7 +168,7 @@
$(PREFIX2b).t2x: $(BASENAME).$(PREFIX2).t2x
xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).$(PREFIX2).t2x > $@
apertium-validate-interchunk $@
-
+
$(PREFIX1).t3x: $(BASENAME).$(PREFIX1).t3x
xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t3x > $@
apertium-validate-postchunk $@
@@ -233,19 +233,18 @@
$(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x \
$(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x \
$(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x
-
-
+
modes: modes.xml Makefile.am
apertium-gen-modes modes.xml
@cp *.mode modes
-
+
$(INSTALL_MODES): modes.xml Makefile.am
apertium-gen-modes modes.xml
@cp *.mode modes
apertium_oc_cadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
apertium_oc_camodesdir=$(prefix)/share/apertium/modes/
-
+
apertium_oc_ca_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
$(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
$(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \
@@ -267,9 +266,9 @@
install-data-local:
apertium-gen-modes modes.xml apertium-$(PREFIX1)
- $(INSTALL_DATA) oc-ca.mode $(apertium_oc_camodesdir)
- $(INSTALL_DATA) ca-oc.mode $(apertium_oc_camodesdir)
- $(INSTALL_DATA) oc_aran-ca.mode $(apertium_oc_camodesdir)
- $(INSTALL_DATA) ca-oc_aran.mode $(apertium_oc_camodesdir)
-
+ $(INSTALL_DATA) oc-ca.mode $(DESTDIR)$(apertium_oc_camodesdir)
+ $(INSTALL_DATA) ca-oc.mode $(DESTDIR)$(apertium_oc_camodesdir)
+ $(INSTALL_DATA) oc_aran-ca.mode $(DESTDIR)$(apertium_oc_camodesdir)
+ $(INSTALL_DATA) ca-oc_aran.mode $(DESTDIR)$(apertium_oc_camodesdir)
+
CLEANFILES = -r $(TARGETS)
|