Skip to content

Commit

Permalink
Fix forgotten build rules for spellers with extra variants
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Jan 29, 2024
1 parent ae104e5 commit db5f93b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ acceptor.%.hfst: \
# Build rule for zhfst files for alternate writing systems:
$(ALT_ORTH_ZHFST_FILES): \
$(GTLANG2)-x-%.zhfst: \
$(srcdir)/index.%.xml \
index.%.xml \
acceptor.%.hfst \
errmodel.%.hfst
$(AM_V_at)rm -f $@
$(AM_V_at)$(MKDIR_P) build/$@
$(AM_V_at)rm -f build/$@/*
$(AM_V_at)cp $(srcdir)/index.$*.xml build/$@/index.xml
$(AM_V_at)cp index.$*.xml build/$@/index.xml
$(AM_V_at)cp acceptor.$*.hfst build/$@/acceptor.default.hfst
$(AM_V_at)cp errmodel.$*.hfst build/$@/errmodel.default.hfst
$(AM_V_ZIP)cd build/$@/ && $(ZIP) $(ZIPFLAGS) ../../$@ *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ $(GT_ALT_WS_SPELLER_ACCEPTORS): \
# Build rule for zhfst files for alternate writing systems:
$(ALT_WS_ZHFST_FILES): \
$(GTLANG2)-%.zhfst: \
$(srcdir)/index.%.xml \
index.%.xml \
acceptor.%.hfst \
errmodel.%.hfst
$(AM_V_at)rm -f $@
$(AM_V_at)$(MKDIR_P) build/$@
$(AM_V_at)rm -f build/$@/*
$(AM_V_at)cp $(srcdir)/index.$*.xml build/$@/index.xml
$(AM_V_at)cp index.$*.xml build/$@/index.xml
$(AM_V_at)cp acceptor.$*.hfst build/$@/acceptor.default.hfst
$(AM_V_at)cp errmodel.$*.hfst build/$@/errmodel.default.hfst
$(AM_V_ZIP)cd build/$@/ && $(ZIP) $(ZIPFLAGS) ../../$@ *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ acceptor.%.hfst: \
# Build rule for zhfst files for specific areas/countries:
$(AREA_ZHFST_FILES): \
$(GTLANG2)_%.zhfst: \
$(srcdir)/index.%.xml \
index.%.xml \
acceptor.%.hfst \
errmodel.%.hfst
$(AM_V_at)rm -f $@
$(AM_V_at)$(MKDIR_P) build/$@
$(AM_V_at)rm -f build/$@/*
$(AM_V_at)cp $(srcdir)/index.$*.xml build/$@/index.xml
$(AM_V_at)cp index.$*.xml build/$@/index.xml
$(AM_V_at)cp acceptor.$*.hfst build/$@/acceptor.default.hfst
$(AM_V_at)cp errmodel.$*.hfst build/$@/errmodel.default.hfst
$(AM_V_ZIP)cd build/$@/ && $(ZIP) $(ZIPFLAGS) ../../$@ *
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
AC_INIT([giella-core], [0.22.0], [[email protected]], [giella-core], [https://github.com/giellalt/giella-core])
AC_INIT([giella-core], [0.22.1], [[email protected]], [giella-core], [https://github.com/giellalt/giella-core])
AC_REVISION([$Revision$])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.9 tar-pax -Wall -Werror foreign])
Expand Down

0 comments on commit db5f93b

Please sign in to comment.