Add 'make autostatus' target so we can test how we autogeneration of bindings is...
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 18 Jan 2008 21:34:57 +0000 (21:34 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 18 Jan 2008 21:34:57 +0000 (21:34 +0000)
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