build: Ensure glibconfig.h.win32 is in DISTCLEANFILES
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 8 Apr 2014 08:12:24 +0000 (09:12 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 25 Jun 2015 09:42:35 +0000 (10:42 +0100)
Otherwise it’s possible for it to not be regenerated when glibconfig.h
is, leading to inconsistencies.

https://bugzilla.gnome.org/show_bug.cgi?id=727829

glib/Makefile.am

index 9c728f8..c46a24d 100644 (file)
@@ -9,13 +9,15 @@ include $(top_srcdir)/glib.mk
 # to config.status will not result in changes to glibconfig.h so we
 # avoid touching its timestamp (in order not to rebuild the whole tree).
 #
-DISTCLEANFILES += glibconfig-stamp glibconfig.h
+DISTCLEANFILES += glibconfig-stamp glibconfig.h glibconfig.h.win32
 BUILT_SOURCES += glibconfig-stamp
 configexecincludedir = $(libdir)/glib-2.0/include
 nodist_configexecinclude_HEADERS = glibconfig.h
 glibconfig-stamp: ../config.status
        $(AM_V_GEN) cd $(top_builddir) && \
          $(SHELL) ./config.status glib/glibconfig.h
+       $(AM_V_GEN) cd $(top_builddir) && \
+         $(SHELL) ./config.status glib/glibconfig.h.win32
        @touch glibconfig-stamp