[Libguestfs] [PATCH] Don't update appliance after running generator.

Richard W.M. Jones rjones at redhat.com
Thu Nov 5 10:06:42 UTC 2009


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-------------- next part --------------
>From dea397523ad5c6b27fc315a64b7b593b3c1af380 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Thu, 5 Nov 2009 10:03:59 +0000
Subject: [PATCH] Don't update appliance after running generator.

I'm not sure why these dependencies exist, but they cause the
appliance to be updated every time the generator runs, which
appears to be unnecessary.
---
 src/Makefile.am |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index fadb8c4..4fb466d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,8 +34,6 @@ 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
-
 include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h
 
 lib_LTLIBRARIES = libguestfs.la
@@ -57,8 +55,6 @@ libprotocol_la_SOURCES = \
 
 libprotocol_la_CFLAGS =
 
-$(BUILT_SOURCES): stamp-generator
-
 CLEANFILES = guestfs_protocol.c guestfs_protocol.h
 
 # From the libtool info file, with comments:
-- 
1.6.5.rc2



More information about the Libguestfs mailing list