Skip to content

Commit

Permalink
more cleanupå
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Jan 6, 2025
1 parent aa3b8ae commit 435c2ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions am-shared/tools-spellcheckers-dir-include.am
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ analyser-%.hfst: generator-%.hfst
initial_letters.all.default.hfst \
final_strings.default.hfst

CLEANFILES=$(GT_COMMON_SPELLER_HFST)

include $(top_srcdir)/../giella-core/am-shared/tools-spellcheckers-fstbased-dir-include.am
include $(top_srcdir)/../giella-core/am-shared/tools-spellcheckers-fstbased-desktop-dir-include.am
include $(top_srcdir)/../giella-core/am-shared/tools-spellcheckers-fstbased-desktop-hfst-dir-include.am
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ endif # WANT_SPELLERS
noinst_DATA+=$(GT_ERRMODELS) \
$(INST_FILES)

CLEANFILES=$(ALL_ZHFST_FILES) $(ALL_DESKTOP_ZHFST_FILES)
CLEANFILES+=$(ALL_ZHFST_FILES) $(ALL_DESKTOP_ZHFST_FILES)

###################################
####### HFST build rules: #########

Expand Down
2 changes: 2 additions & 0 deletions am-shared/tools-spellcheckers-fstbased-mobile-dir-include.am
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ endif # CAN_HFST

noinst_DATA+=$(GIELLA_MOBILE_SPELLER_HFST)

CLEANFILES+=$(GIELLA_MOBILE_SPELLER_HFST)

#### 1. Copy base fst from parent dir:
.generated/$(MOB_UW_SPELLER_SRC): .generated/generator-fstspeller-gt-norm.hfst
$(AM_V_FST2FST)$(HFST_FST2FST) $(HFST_FLAGS) -f openfst-tropical $< -o $@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ $(MOB_GIELLA_PREDICT_HFST): index.predict.xml \

####### Other targets: ###########

CLEANFILES+=$(MOB_GT_SPELLER_ACCEPTOR) $(MOB_GT_PREDICT_ACCEPTOR)

# Keep these intermediate targets when building using --debug:
.SECONDARY: editdist.all.default.hfst \
strings.default.hfst \
Expand Down

0 comments on commit 435c2ac

Please sign in to comment.