mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
generator: Don't use ocamldep -all option in this directory.
ocamldep -all (introduced in commita3881445ef) 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 commita3881445ef.
This commit is contained in:
@@ -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' | \
|
||||
|
||||
Reference in New Issue
Block a user