BUILT_SOURCES now depends on running the generator.
authorRichard Jones <rjones@redhat.com>
Wed, 18 Nov 2009 17:41:41 +0000 (17:41 +0000)
committerRichard Jones <rjones@redhat.com>
Wed, 18 Nov 2009 17:41:41 +0000 (17:41 +0000)
This completely reverts commit efad4f53923dcca94613e193d6383bd032e70498.

src/Makefile.am

index 469f6d6..2774ffc 100644 (file)
@@ -34,7 +34,7 @@ stamp-generator: generator.ml
        mkdir -p $(top_srcdir)/java/com/redhat/et/libguestfs
        cd $(top_srcdir) && ocaml -warn-error A src/generator.ml
 
-guestfs_protocol.x: stamp-generator
+$(BUILT_SOURCES): stamp-generator
 
 include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h