summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-22 16:30:12 +0000
committerRichard Jones <rjones@redhat.com>2010-02-22 17:59:16 +0000
commit3c53304204c3fc4403875afc3668a8b5f9523921 (patch)
treec8fbe061f1e82fa280062e95dfeeec568046c402 /autogen.sh
parent5515fd7a9ed5918a9d056ba680925a8d93c6c5f7 (diff)
downloadhivex-3c53304204c3fc4403875afc3668a8b5f9523921.tar.gz
hivex-3c53304204c3fc4403875afc3668a8b5f9523921.tar.xz
hivex-3c53304204c3fc4403875afc3668a8b5f9523921.zip
Add a generator for generating bindings to other languages.
At the moment the generator just generates the C header file and C POD documentation. This just so we can compare the existing hand-written code with the generated code to make sure that our description of the API within the generator is correct.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index a1fd048..0d08b4c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -42,6 +42,12 @@ if [ ! -z "$BUILDDIR" ]; then
CONFIGUREDIR=..
fi
+# Rerun the generator (requires OCaml interpreter). This is *not* for
+# anything that is required at configure-time when configure is run
+# from a distribution tarball. From those, nothing ocaml-related is
+# required.
+./generator/generator.ml
+
# If no arguments were specified and configure has run before, use the previous
# arguments
if [ $# == 0 -a -x ./config.status ]; then