Use BUILT_SOURCES to ensure that marshallers get built
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 27 Nov 2008 10:51:03 +0000 (19:51 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 27 Nov 2008 10:51:03 +0000 (19:51 +0900)
lib/gtksheet/automake.mk

index 550af2eb3a5ce00ab21e9822700d0f1deef55337..1ad14a7f63ef360bd223a88cf0b6533434b4c9e8 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS += -Ilib
 
 lib_gtksheet_libgtksheet_a_CFLAGS = $(GTK_CFLAGS) -Wall -DGDK_MULTIHEAD_SAFE=1
 
-lib_gtksheet_BUILT_SOURCES = \
+nodist_lib_gtksheet_libgtksheet_a_SOURCES = \
        lib/gtksheet/psppire-marshal.c \
        lib/gtksheet/psppire-marshal.h
 
@@ -23,12 +23,9 @@ lib_gtksheet_libgtksheet_a_SOURCES = \
        lib/gtksheet/psppire-axis-hetero.c \
        lib/gtksheet/psppire-axis-hetero.h \
        lib/gtksheet/psppire-axis-uniform.c \
-       lib/gtksheet/psppire-axis-uniform.h \
-       $(lib_gtksheet_BUILT_SOURCES)
+       lib/gtksheet/psppire-axis-uniform.h 
 
 
-CLEANFILES += $(lib_gtksheet_BUILT_SOURCES)
-
 EXTRA_DIST += lib/gtksheet/OChangeLog \
        lib/gtksheet/marshaller-list \
        lib/gtksheet/README
@@ -38,3 +35,6 @@ lib/gtksheet/psppire-marshal.c: lib/gtksheet/marshaller-list
 
 lib/gtksheet/psppire-marshal.h: lib/gtksheet/marshaller-list
        glib-genmarshal --header --prefix=psppire_marshal $< > $@
+
+BUILT_SOURCES += $(nodist_lib_gtksheet_libgtksheet_a_SOURCES)
+CLEANFILES += $(nodist_lib_gtksheet_libgtksheet_a_SOURCES)