Fix make distcheck
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Aug 2011 17:16:13 +0000 (19:16 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Aug 2011 17:36:50 +0000 (19:36 +0200)
src/Makefile.am
src/hb-gobject-enums.cc.tmpl

index 95980a2..4170663 100644 (file)
@@ -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)
index 688dfff..05abd89 100644 (file)
@@ -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)
 {