Skip to content
  • Christian Persch's avatar
    Add @basename@ substitution to glib-mkenums · 6d1474e7
    Christian Persch authored
    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.
    6d1474e7