X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_main.ml;h=f384fac08a030479c460f47ce361b05c34cbb6c2;hp=2d4b2412f2b5de1de4740ef08ad30010c97cfef2;hb=bf3b9e2e236b4dd2216200993ba39545ad5160bb;hpb=2066805a5d93b62beaf6653324715f0b62b06a05 diff --git a/generator/generator_main.ml b/generator/generator_main.ml index 2d4b241..f384fac 100644 --- a/generator/generator_main.ml +++ b/generator/generator_main.ml @@ -23,6 +23,7 @@ open Printf open Generator_pr open Generator_structs +open Generator_api_versions open Generator_c open Generator_xdr @@ -72,6 +73,9 @@ Run it from the top source directory using the command perror "lock: HACKING" exn; exit 1); + (* Read the API versions file. *) + load_api_versions "src/api-support/added"; + output_to "src/guestfs_protocol.x" generate_xdr; output_to "src/guestfs-structs.h" generate_structs_h; output_to "src/guestfs-actions.h" generate_actions_h; @@ -92,6 +96,7 @@ Run it from the top source directory using the command output_to "daemon/optgroups.c" generate_daemon_optgroups_c; output_to "daemon/optgroups.h" generate_daemon_optgroups_h; output_to "capitests/tests.c" generate_tests; + output_to "fish/cmds_gperf.gperf" generate_fish_cmds_gperf; output_to "fish/cmds.c" generate_fish_cmds; output_to "fish/completion.c" generate_fish_completion; output_to "fish/guestfish-commands.pod" generate_fish_commands_pod;