diff options
author | Richard Jones <rjones@redhat.com> | 2010-04-17 15:41:16 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-04-17 15:41:16 +0100 |
commit | 2a9abc7791a12af07ec2dada4b3a9a16eb452dca (patch) | |
tree | 64eb078ea50b70ec2fdf694495d7ad21c16ddc9c /src/Makefile.am | |
parent | 5922d7084d6b43f0a1a15b664c7082dfeaf584d0 (diff) | |
download | libguestfs-2a9abc7791a12af07ec2dada4b3a9a16eb452dca.tar.gz libguestfs-2a9abc7791a12af07ec2dada4b3a9a16eb452dca.tar.xz libguestfs-2a9abc7791a12af07ec2dada4b3a9a16eb452dca.zip |
Rerun generator if images/test.iso does not exist or has been updated.
The MD5 hash of this file is embedded in the output of the
generator.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4764a550..43f1b0d2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -50,13 +50,16 @@ EXTRA_DIST = \ # have to create the directory first. noinst_DATA = stamp-generator -stamp-generator: generator.ml +stamp-generator: generator.ml ../images/test.iso 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 +../images/test.iso: + make -C ../images test.iso + include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h lib_LTLIBRARIES = libguestfs.la |