From fc5c0371617d2ee41ea5e35e19922c52cafd4d55 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Add 'make autostatus' target so we can test how we autogeneration of bindings is going. --- libvirt/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libvirt/Makefile.in b/libvirt/Makefile.in index 9387bc9..3bc06ac 100644 --- a/libvirt/Makefile.in +++ b/libvirt/Makefile.in @@ -102,6 +102,13 @@ endif libvirt_c.c: generator.pl perl -w $< > $@ +# Status of automatically generated bindings. +autostatus: + @echo -n "Functions which have manual bindings: " + @grep ^ocaml_libvirt_ libvirt_c_oneoffs.c | wc -l + @echo -n "LOC in manual bindings: " + @wc -l < libvirt_c_oneoffs.c + libvirt.cmo: libvirt.cmi libvirt.cmi: libvirt.mli -- 1.8.3.1