Add 'make autostatus' target so we can test how we autogeneration of bindings is...
[virt-top.git] / libvirt / Makefile.in
index 9387bc9..3bc06ac 100644 (file)
@@ -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