updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / apertium-oc-es / Makefile.am.patch
blob5afc6cd6f860c02df576b67e95b145e921d93e9b
1 --- ../apertium-oc-es-1.0.5/Makefile.am 2008-07-21 14:53:50.000000000 +0200
2 +++ apertium-oc-es-1.0.5/Makefile.am 2010-09-15 16:29:38.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 @@ -234,18 +234,18 @@
40 $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x \
41 $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x
45 modes: modes.xml Makefile.am
46 apertium-gen-modes modes.xml
47 @cp *.mode modes/
50 $(INSTALL_MODES): modes.xml Makefile.am
51 apertium-gen-modes modes.xml
52 @cp *.mode modes/
54 apertium_oc_esdir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
55 apertium_oc_esmodesdir=$(prefix)/share/apertium/modes/
58 apertium_oc_es_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
59 $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
60 $(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \
61 @@ -267,9 +267,9 @@
63 install-data-local:
64 apertium-gen-modes modes.xml apertium-$(PREFIX1)
65 - $(INSTALL_DATA) oc-es.mode $(apertium_oc_esmodesdir)
66 - $(INSTALL_DATA) es-oc.mode $(apertium_oc_esmodesdir)
67 - $(INSTALL_DATA) oc_aran-es.mode $(apertium_oc_esmodesdir)
68 - $(INSTALL_DATA) es-oc_aran.mode $(apertium_oc_esmodesdir)
70 + $(INSTALL_DATA) oc-es.mode $(DESTDIR)$(apertium_oc_esmodesdir)
71 + $(INSTALL_DATA) es-oc.mode $(DESTDIR)$(apertium_oc_esmodesdir)
72 + $(INSTALL_DATA) oc_aran-es.mode $(DESTDIR)$(apertium_oc_esmodesdir)
73 + $(INSTALL_DATA) es-oc_aran.mode $(DESTDIR)$(apertium_oc_esmodesdir)
75 CLEANFILES = -r $(TARGETS)