mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-19 07:45:09 +00:00
Estimated hours taken: 0.2 Branches: main compiler/Mmakefile: Fix an old bug. The action for the target "tags_file_exists", which is implicitly remade whenever we rebuild the compiler, used to always touch .compiler_tags. This led the "tags" target to believe that the tags file (whose logical timestamp .compiler_tags represents) is at least as new as all the .m files, causing it to not actually remake the tags file, even when it should have. We now touch .compiler_tags only when rebuilding the tags file. */Mmakefile: Make the actions for tags follow the scheme in compiler/Mmakefile where needed.