I just switched to tup from make and I can't seem to understand how to make named targets..
Makefiles allow for multiple targets to be defined, like make clean, make foo, etc.
However, tup only seems to accept variable switches, not true targets...
Is there a way around this?
The answer to this turns out to be in the variants settings of tup.
For example a
cleantarget is approximated by (from a similar answer):Actually this is the use case for variants as described in the manual.
However,
tupno longer works as the right update command since that will update all the variants.Instead target them like this: