Add @basename@ substitution to glib-mkenums
Since @filename@ contains the full filename as given to the glib-mkenum command, possibly including path elements (e.g. when using a non-srcdir build), it is unsuitable to use in a #include statement in the generated file if one wants to distribute it. This patch adds @basename@ which expands to the base name of the input filename. Bug #587307.
Showing with 12 additions and 0 deletions