It is beyond me why build systems like #make #scons #snakemake et al. all don't have a flag like `--pattern '*2022-*'` that will make only those files it knows how to make matching a given pattern.
(using shell brace expansion and/or globbing is risky and doesn't work fully if not all the files exist yet)
@nobodyinperson The problem is: what is make supposed to make, if you ask for 2022-* and it has a rule for 2022-%?
Granted, the introspection capabilities to at least retrieve the list of known targets are _bad_. Redo does that better: every target is defined in its own file, so globbing _is_ the way to go to get the canonical list of targets that are available. That also makes it possible at all to depend on the build recipe as a prerequisite...