[Pkg-libvirt-commits] [libguestfs] 03/63: generator: Don't use ocamldep -all option in this directory.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:43:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.39-1
in repository libguestfs.

commit 65822315109cdb1e0079d687ce0d59fdfd6d83f2
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Sep 2 09:05:12 2014 +0100

    generator: Don't use ocamldep -all option in this directory.
    
    ocamldep -all (introduced in commit a3881445efd0) creates a dependency
    rule
    
      optgroups.cmi ... : utils.cmx ...
    
    Because we never build a native code version of the generator,
    utils.cmx can never be remade, and so this results in optgroups.cmi
    being always rebuilt and hence rebuilding the whole directory.
    
    It's unclear how to fix this, but reverting the ocamldep -all change
    in this directory works around it.
    
    Partially reverts commit a3881445efd04d5fe6da29db8b2d62a30088b9d1.
---
 generator/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generator/Makefile.am b/generator/Makefile.am
index 15308be..3716c77 100644
--- a/generator/Makefile.am
+++ b/generator/Makefile.am
@@ -116,7 +116,7 @@ depend: .depend
 
 .depend: $(wildcard $(abs_srcdir)/*.mli) $(wildcard $(abs_srcdir)/*.ml)
 	rm -f $@ $@-t
-	$(OCAMLFIND) ocamldep -all -I ../ocaml -I $(abs_srcdir) $^ | \
+	$(OCAMLFIND) ocamldep -I ../ocaml -I $(abs_srcdir) $^ | \
 	  $(SED) 's/ *$$//' | \
 	  $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
 	  $(SED) -e 's,$(abs_srcdir)/,$(builddir)/,g' | \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list