diff --git a/src/Makefile.am b/src/Makefile.am index 95980a292..417066373 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,6 +28,8 @@ HBSOURCES = \ hb-open-file-private.hh \ hb-open-type-private.hh \ hb-ot-head-table.hh \ + hb-ot-hhea-table.hh \ + hb-ot-hmtx-table.hh \ hb-ot-maxp-table.hh \ hb-ot-name-table.hh \ hb-ot-tag.cc \ @@ -48,10 +50,6 @@ HBHEADERS = \ hb-version.h \ $(NULL) -MAINTAINERCLEANFILES += \ - $(srcdir)/hb-version.h \ - $(NULL) - if HAVE_OT HBSOURCES += \ hb-ot-layout.cc \ @@ -92,14 +90,16 @@ endif if HAVE_GOBJECT HBCFLAGS += $(GOBJECT_CFLAGS) HBLIBS += $(GOBJECT_LIBS) -HBSOURCES += hb-gobject-structs.cc hb-gobject-enums.cc +HBSOURCES += hb-gobject-structs.cc +nodist_HBSOURCES = hb-gobject-enums.cc HBHEADERS += hb-gobject.h BUILT_SOURCES += hb-gobject-enums.cc EXTRA_DIST += hb-gobject-enums.cc.tmpl +DISTCLEANFILES += hb-gobject-enums.cc hb-gobject-enums.cc: hb-gobject-enums.cc.tmpl $(HBHEADERS) - $(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template $^ ) > \ - "$@.tmp" && mv "$@.tmp" "$@" || ( $(RM) "@.tmp" && false ) + $(AM_V_GEN) $(GLIB_MKENUMS) --template $^ > "$@.tmp" && \ + mv "$@.tmp" "$@" || ( $(RM) "@.tmp" && false ) endif if HAVE_ICU @@ -132,6 +132,7 @@ endif CXXLINK = $(LINK) libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) +nodist_libharfbuzz_la_SOURCES = $(nodist_HBSOURCES) libharfbuzz_la_CPPFLAGS = $(HBCFLAGS) libharfbuzz_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined libharfbuzz_la_LIBADD = $(HBLIBS) diff --git a/src/hb-gobject-enums.cc.tmpl b/src/hb-gobject-enums.cc.tmpl index 688dffffc..05abd898d 100644 --- a/src/hb-gobject-enums.cc.tmpl +++ b/src/hb-gobject-enums.cc.tmpl @@ -45,7 +45,7 @@ /*** END file-production ***/ /*** BEGIN value-header ***/ -/* inline static -----> disable these for now... */ +inline static /* TODO(behdad) disable these for now until we fix them... */ GType @enum_name@_get_type (void) {