aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoarchive/Makefile.am18
-rw-r--r--autoarchive/autoar-enum-types.c.template2
2 files changed, 13 insertions, 7 deletions
diff --git a/autoarchive/Makefile.am b/autoarchive/Makefile.am
index 384656e6f..7bd48d54a 100644
--- a/autoarchive/Makefile.am
+++ b/autoarchive/Makefile.am
@@ -1,11 +1,13 @@
# vim: set sw=8 ts=8 sts=8 noet:
NULL =
-noinst_PROGRAMS =
-EXTRA_DIST =
-
+noinst_PROGRAMS =
+EXTRA_DIST = \
+ autoar-enum-types.h.template \
+ autoar-enum-types.c.template \
+ $(NULL)
noinst_LTLIBRARIES = libautoarchive.la
@@ -54,6 +56,10 @@ test_extract_LDADD = \
libautoarchive.la \
$(NULL)
-CLEANFILES = $(libautoarchive_generated_sources)
-DISTCLEANFILES = $(libautoarchive_generated_sources)
-MAINTAINERCLEANFILES = $(libautoarchive_generated_sources)
+BUILT_SOURCES = \
+ $(libautoarchive_generated_sources) \
+ $(NULL)
+
+CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(BUILT_SOURCES)
+MAINTAINERCLEANFILES = $(BUILT_SOURCES)
diff --git a/autoarchive/autoar-enum-types.c.template b/autoarchive/autoar-enum-types.c.template
index eda4fc9f8..96aee6258 100644
--- a/autoarchive/autoar-enum-types.c.template
+++ b/autoarchive/autoar-enum-types.c.template
@@ -14,7 +14,7 @@ GType
@enum_name@_get_type (void)
{
static GType type = 0;
- if (!type)
+ if (G_UNLIKELY (!type))
{
static const G@Type@Value values[] = {
/*** END value-header ***/