summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-19 21:53:09 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-19 21:53:09 +0000
commitd2400da92e5e2cc7fd5e33e61220a33214d5241c (patch)
tree4dcd4b4d63eb91bfc0b5700bae0104e827864f47 /generator
parent84fbe21855b5b304413075fecb444135397591e6 (diff)
downloadlibguestfs-d2400da92e5e2cc7fd5e33e61220a33214d5241c.tar.gz
libguestfs-d2400da92e5e2cc7fd5e33e61220a33214d5241c.tar.xz
libguestfs-d2400da92e5e2cc7fd5e33e61220a33214d5241c.zip
docs: Obsolete HACKING file, move content into guestfs(3) man page.
Add a new section called "EXTENDING LIBGUESTFS" to the guestfs manual page which contains all the information previously in "HACKING".
Diffstat (limited to 'generator')
-rw-r--r--generator/generator_main.ml6
-rw-r--r--generator/generator_types.ml2
2 files changed, 4 insertions, 4 deletions
diff --git a/generator/generator_main.ml b/generator/generator_main.ml
index 4ef9ba51..f3d3340a 100644
--- a/generator/generator_main.ml
+++ b/generator/generator_main.ml
@@ -50,7 +50,7 @@ let perror msg = function
(* Main program. *)
let () =
let lock_fd =
- try openfile "HACKING" [O_RDWR] 0
+ try openfile "BUGS" [O_RDWR] 0
with
| Unix_error (ENOENT, _, _) ->
eprintf "\
@@ -60,7 +60,7 @@ Run it from the top source directory using the command
";
exit 1
| exn ->
- perror "open: HACKING" exn;
+ perror "open: BUGS" exn;
exit 1 in
(* Acquire a lock so parallel builds won't try to run the generator
@@ -70,7 +70,7 @@ Run it from the top source directory using the command
*)
(try lockf lock_fd F_LOCK 1
with exn ->
- perror "lock: HACKING" exn;
+ perror "lock: BUGS" exn;
exit 1);
(* Read the API versions file. *)
diff --git a/generator/generator_types.ml b/generator/generator_types.ml
index 369a49a3..b6c27309 100644
--- a/generator/generator_types.ml
+++ b/generator/generator_types.ml
@@ -218,7 +218,7 @@ and fish_output_t =
| FishOutputOctal (* for int return, print in octal *)
| FishOutputHexadecimal (* for int return, print in hex *)
-(* See section "Tests" in HACKING file. *)
+(* See guestfs(3)/EXTENDING LIBGUESTFS. *)
type tests = (test_init * test_prereq * test) list
and test =
(* Run the command sequence and just expect nothing to fail. *)