updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / apertium-es-pt / Makefile.am.patch
blob332c327b1c01d56d4ec78ce7c057888e59e4989b
1 --- ../apertium-es-pt-1.0.3/Makefile.am 2007-10-02 10:38:51.000000000 +0200
2 +++ apertium-es-pt-1.0.3/Makefile.am 2010-09-15 16:34:42.000000000 +0200
3 @@ -31,11 +31,11 @@
4 $(PREFIX1b).autobil.bin: es-pt_BR.dix
5 apertium-validate-dictionary es-pt_BR.dix
6 lt-comp lr es-pt_BR.dix $@
7 -
9 $(PREFIX1b).autogen.bin: pt_BR.dix
10 apertium-validate-dictionary pt_BR.dix
11 lt-comp rl pt_BR.dix $@
14 $(PREFIX1).autopgen.bin: $(BASENAME).post-$(LANG2).dix
15 apertium-validate-dictionary $(BASENAME).post-$(LANG2).dix
16 lt-comp lr $(BASENAME).post-$(LANG2).dix $@
17 @@ -60,13 +60,13 @@
18 apertium-validate-transfer $(BASENAME).trules-$(PREFIX2).xml
19 apertium-preprocess-transfer $(BASENAME).trules-$(PREFIX2).xml \
20 trules-$(PREFIX2).bin
23 trules-$(PREFIX1).xml: $(BASENAME).trules-$(PREFIX1).xml
24 ./filterrules.sh pt_PT $(BASENAME).trules-$(PREFIX1).xml >$@
26 trules-$(PREFIX1b).xml: $(BASENAME).trules-$(PREFIX1).xml
27 ./filterrules.sh pt_BR $(BASENAME).trules-$(PREFIX1).xml >$@
30 trules-$(PREFIX1).bin: trules-$(PREFIX1).xml
31 apertium-validate-transfer trules-$(PREFIX1).xml
32 apertium-preprocess-transfer trules-$(PREFIX1).xml $@
33 @@ -87,20 +87,20 @@
34 $(PREFIX2)-supervised.make $(PREFIX2)-unsupervised.make \
35 $(LANG2).dix $(LANG2b).dix $(PREFIX1).dix $(PREFIX1b).dix \
36 filter.sh filter.xsl filterrules.sh filterrules.xsl modes.xml
39 apertium_es_ptdir=$(prefix)/share/apertium/apertium-$(PREFIX1)/
40 apertium_es_modesdir=$(prefix)/share/apertium/modes/
43 pt.dix: $(BASENAME).$(LANG2).dix
44 ./filter.sh pt left $(BASENAME).$(LANG2).dix >$@
47 pt_BR.dix: $(BASENAME).$(LANG2).dix
48 ./filter.sh br left $(BASENAME).$(LANG2).dix >$@
51 es-pt.dix: $(BASENAME).$(PREFIX1).dix
52 ./filter.sh pt right $(BASENAME).$(PREFIX1).dix >$@
55 es-pt_BR.dix: $(BASENAME).$(PREFIX1).dix
56 ./filter.sh br right $(BASENAME).$(PREFIX1).dix >$@
58 @@ -115,7 +115,7 @@
60 modes: modes.xml
61 apertium-gen-modes modes.xml
64 apertium_es_pt_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
65 $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
66 $(PREFIX1b).autobil.bin $(PREFIX1b).autogen.bin \
67 @@ -128,10 +128,10 @@
69 install-data-local:
70 $(prefix)/bin/apertium-gen-modes modes.xml apertium-$(PREFIX1)
71 - $(INSTALL_DATA) $(PREFIX1).mode $(apertium_es_modesdir)
72 - $(INSTALL_DATA) $(PREFIX1b).mode $(apertium_es_modesdir)
73 - $(INSTALL_DATA) $(PREFIX2).mode $(apertium_es_modesdir)
74 - $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml trules-$(PREFIX1b).xml $(apertium_es_ptdir)
75 + $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_es_modesdir)
76 + $(INSTALL_DATA) $(PREFIX1b).mode $(DESTDIR)$(apertium_es_modesdir)
77 + $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_es_modesdir)
78 + $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml trules-$(PREFIX1b).xml $(DESTDIR)$(apertium_es_ptdir)
81 CLEANFILES = -rf $(TARGETS) pt.dix pt_BR.dix es-pt.dix es-pt_BR.dix modes