In this post I said I will get through the GLib Makefiles to add an enum type to GLib in a more sophisticated way.
In my other project, SWE-GLib I already used this method. The following two rules in Makefile.am create gswe-enumtypes.h and gswe-enumtypes.c.
gswe_enum_headers = headers-that-contain-enums …