diff --git a/src/fst/morphology/Makefile.modifications-local.am b/src/fst/morphology/Makefile.modifications-local.am index 2d4c17c5b..b1e8cdf2b 100644 --- a/src/fst/morphology/Makefile.modifications-local.am +++ b/src/fst/morphology/Makefile.modifications-local.am @@ -18,10 +18,19 @@ # Add local build rules and shared here... if HAVE_SHARED_URJ_CYRL -generated_files/urj-Cyrl-$(GLANG)-propernouns.lexc: \ - $(gt_SHARED_urj_Cyrl)/src/fst/stems/urj-Cyrl-propernouns.lexc +generated_files/urj-Cyrl-propernouns.lexc: \ + $(gt_SHARED_urj_Cyrl)/src/fst/stems/urj-Cyrl-propernouns.lexc $(AM_V_at)$(MKDIR_P) generated_files - $(AM_V_CP)cp -f $< $@ + $(AM_V_GEN)cp -f $< $@ + +generated_files/urj-Cyrl-$(GTLANG)-propernouns.lexc: \ + generated_files/urj-Cyrl-propernouns.lexc \ + $(top_srcdir)/src/scripts/urj-Cyrl-$(GTLANG)-conversion.pl + $(AM_V_GEN)rm -f $@ && \ + echo "" >> $@ && \ + echo "! <--- Dump from URJ-CYRL -->" >> $@ && \ + echo "" >> $@ && \ + $(top_srcdir)/src/scripts/urj-Cyrl-$(GTLANG)-conversion.pl $< >> $@ else generated_files/urj-Cyrl-$(GLANG)-%.lexc: $(AM_V_at)$(MKDIR_P) generated_files diff --git a/src/scripts/urj-Cyrl-kpv-conversion.pl b/src/scripts/urj-Cyrl-kpv-conversion.pl index 24fb11466..399b12ad4 100755 --- a/src/scripts/urj-Cyrl-kpv-conversion.pl +++ b/src/scripts/urj-Cyrl-kpv-conversion.pl @@ -56,7 +56,7 @@ BEGIN # # j->i || Vow i .* : .* Vow _ ; Heaika:Heajka -> Heaika:Heaika. But Majken # s/([ÁAEIOUaáeiou])i(.*):(.*)([ÁAEIOUaáeiou])j/$1i$2:$3$4i/g ; # -# my $line = $_; + my $line = $_; # # # Special treatment of æ in SMJ: # if ($line =~ /æ/) {