[build] Remove cogl-enum-types.h on distclean
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 29 May 2009 16:50:58 +0000 (17:50 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 29 May 2009 16:50:58 +0000 (17:50 +0100)
The cogl-enum-types.h file is created by glib-mkenums under
/clutter/cogl/common, and then copied in /clutter/cogl in order
to make the inclusion of that file work inside cogl.h.

Since we're copying it in a different location, the Makefile
for that location has to clean up the copy.

clutter/cogl/Makefile.am

index 5dec598..cae7987 100644 (file)
@@ -49,6 +49,10 @@ cogl_headers = \
        $(top_builddir)/clutter/cogl/cogl.h                             \
        $(NULL)
 
+# this is copied in from common/ to make cogl.h work, but we
+# need to clean it up ourselves once we're done
+DISTCLEANFILES = cogl-enum-types.h
+
 # HACK - gobject-introspection can't scan a library in another directory
 # so we create a libclutter-cogl.la that's just identical to the one
 # in the subdir