diff options
author | Matthew Booth <mbooth@redhat.com> | 2009-07-13 12:55:02 +0100 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2009-07-13 13:53:31 +0100 |
commit | 456446a86909dd05a5162aca4d676f680b47abc4 (patch) | |
tree | 7051bdbe119fb29e34c0120c81d9cfc4d4bda011 /src | |
parent | 56f7a8a4c8af55d09caef883b60e61e8569ef5a1 (diff) | |
download | libguestfs-456446a86909dd05a5162aca4d676f680b47abc4.tar.gz libguestfs-456446a86909dd05a5162aca4d676f680b47abc4.tar.xz libguestfs-456446a86909dd05a5162aca4d676f680b47abc4.zip |
Revert "Fix checking of generator being run from the right directory."
This reverts commit 35c646965a21d452cf74ef3683612210a653c36d.
As well as reverting this change, add a comment explaining that
configure must run first.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/generator.ml b/src/generator.ml index 47db5d9f..2446299f 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -24,8 +24,10 @@ * this one to describe the interface (see the big table below), and * daemon/<somefile>.c to write the implementation. * - * After editing this file, run it (./src/generator.ml) to regenerate - * all the output files. + * After editing this file, run it (./src/generator.ml) to regenerate all the + * output files. Note that if you are using a separate build directory you must + * run generator.ml from your top level build directory. You must also have run + * configure before generator.ml will run. * * IMPORTANT: This script should NOT print any warnings. If it prints * warnings, you should treat them as errors. @@ -8212,7 +8214,7 @@ let output_to filename = let () = check_functions (); - if not (Sys.file_exists "HACKING") then ( + if not (Sys.file_exists "config.status") then ( eprintf "\ You are probably running this from the wrong directory. Run it from the top source directory using the command |