fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

Yann Büchau :nixos:

It is beyond me why build systems like 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...