-# Rerun the generator if it has changed.
-# Git removes empty directories, so in cases where the
-# generator is creating the sole file in a directory, we
-# have to create the directory first.
-noinst_DATA = stamp-generator
-
-stamp-generator: generator.ml
- mkdir -p $(top_srcdir)/perl/lib/Sys
- mkdir -p $(top_srcdir)/ruby/ext/guestfs
- mkdir -p $(top_srcdir)/java/com/redhat/et/libguestfs
- mkdir -p $(top_srcdir)/csharp
- cd $(top_srcdir) && ocaml -warn-error A src/generator.ml
-
-include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h