It just feels nicer to be explicit about the filenames and not rely on a specific naming. Also, in meson we can directly pass the target as argument, which expands to the filename but also adds a dependency.
It's a better name, because the script merely compiles files and is not specific to "settings-docs.h".