updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / apertium-oc-ca / Makefile.am.patch
blob47228537706ef69768c0fc3e659e2802de65ecb0
1 --- ../apertium-oc-ca-1.0.5/Makefile.am 2008-07-21 13:02:56.000000000 +0200
2 +++ apertium-oc-ca-1.0.5/Makefile.am 2010-09-15 16:32:22.000000000 +0200
3 @@ -19,7 +19,7 @@
4 $(PREFIX2).autogen.bin $(PREFIX2b).autogen.bin \
5 $(PREFIX1).autopgen.bin $(PREFIX1b).autopgen.bin \
6 $(PREFIX2).autopgen.bin $(PREFIX2b).autopgen.bin modes
7 -
9 TARGETS = $(TARGETS_COMMON) $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \
10 $(PREFIX1b).t1x.bin $(PREFIX1b).t2x.bin $(PREFIX1b).t3x.bin \
11 $(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \
12 @@ -72,7 +72,7 @@
14 .deps/$(LANG2b).post.dix: $(BASENAME).post-$(LANG2).dix
15 xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).post-$(LANG2).dix >$@
18 $(PREFIX1).automorf.bin: .deps/$(LANG1).dix
19 apertium-validate-dictionary .deps/$(LANG1).dix
20 lt-comp lr .deps/$(LANG1).dix $@
21 @@ -136,7 +136,7 @@
22 $(PREFIX2b).autopgen.bin: .deps/$(LANG1b).post.dix
23 apertium-validate-dictionary .deps/$(LANG1b).post.dix
24 lt-comp lr .deps/$(LANG1b).post.dix $@
27 $(PREFIX1).t1x: $(BASENAME).$(PREFIX1).t1x
28 xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t1x > $@
29 apertium-validate-transfer $@
30 @@ -168,7 +168,7 @@
31 $(PREFIX2b).t2x: $(BASENAME).$(PREFIX2).t2x
32 xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).$(PREFIX2).t2x > $@
33 apertium-validate-interchunk $@
36 $(PREFIX1).t3x: $(BASENAME).$(PREFIX1).t3x
37 xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t3x > $@
38 apertium-validate-postchunk $@
39 @@ -233,19 +233,18 @@
40 $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX2).t1x \
41 $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x \
42 $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x
46 modes: modes.xml Makefile.am
47 apertium-gen-modes modes.xml
48 @cp *.mode modes
51 $(INSTALL_MODES): modes.xml Makefile.am
52 apertium-gen-modes modes.xml
53 @cp *.mode modes
55 apertium_oc_cadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
56 apertium_oc_camodesdir=$(prefix)/share/apertium/modes/
59 apertium_oc_ca_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
60 $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
61 $(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \
62 @@ -267,9 +266,9 @@
64 install-data-local:
65 apertium-gen-modes modes.xml apertium-$(PREFIX1)
66 - $(INSTALL_DATA) oc-ca.mode $(apertium_oc_camodesdir)
67 - $(INSTALL_DATA) ca-oc.mode $(apertium_oc_camodesdir)
68 - $(INSTALL_DATA) oc_aran-ca.mode $(apertium_oc_camodesdir)
69 - $(INSTALL_DATA) ca-oc_aran.mode $(apertium_oc_camodesdir)
71 + $(INSTALL_DATA) oc-ca.mode $(DESTDIR)$(apertium_oc_camodesdir)
72 + $(INSTALL_DATA) ca-oc.mode $(DESTDIR)$(apertium_oc_camodesdir)
73 + $(INSTALL_DATA) oc_aran-ca.mode $(DESTDIR)$(apertium_oc_camodesdir)
74 + $(INSTALL_DATA) ca-oc_aran.mode $(DESTDIR)$(apertium_oc_camodesdir)
76 CLEANFILES = -r $(TARGETS)