Bug 2413 - new flag in configure to block the deletion of temporary files
Summary: new flag in configure to block the deletion of temporary files
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Compilation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - Later feature request
Assignee: Sjur Nørstebø Moshagen
Depends on:
Reported: 2017-08-05 00:53 CEST by Robert Reynolds
Modified: 2017-10-09 19:33 CEST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Reynolds 2017-08-05 00:53:16 CEST
After FSTs have compiled, the Makefile deletes all of the temporary files, for example:

```rm generator-raw-gt-desc.tmp.hfst analyser-gt-desc.accented.tmp.hfst generator-gt-norm.accented.tmp.hfst generator-g
t-desc.accented.tmp.hfst analyser-gt-norm.accented.hfst analyser-gt-desc.accented.hfst generator-gt-desc.accented.hf
st analyser-gt-norm.tmp.hfst analyser-disamb-gt-desc.accented.hfst generator-gt-norm.tmp.hfst analyser-gt-desc.tmp.h
fst generator-gt-desc.tmp.hfst generator-gt-norm.accented.hfst analyser-disamb-gt-desc.tmp.hfst analyser-disamb-gt-d
esc.accented.tmp.hfst analyser-gt-norm.accented.tmp.hfst```

Would it be possible to add a flag, something like `--keep-tmp` to skip the steps that `rm` these files?
Comment 1 Sjur Nørstebø Moshagen 2017-10-04 16:36:30 CEST
Try making with V=1 (verbose build), I have a recollection of not all files being deleted then.
Comment 2 Sjur Nørstebø Moshagen 2017-10-04 16:41:28 CEST
Not Android...
Comment 3 Robert Reynolds 2017-10-09 19:33:35 CEST
`make V=1` doesn't seem to have an effect on whether tmp files are removed.