generator: The default input files are 'generator/ *.ml' [sic].

Since generator source files were renamed, the comment at the
top of each generated file was wrong.

Unfortunately we cannot allow /* to appear within a comment,
so the space is necessary.
This commit is contained in:
Richard W.M. Jones
2012-09-24 09:26:45 +01:00
parent 1949016e89
commit a3d7f5bc17
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ type comment_style =
type license = GPLv2plus | LGPLv2plus
let generate_header ?(extra_inputs = []) comment license =
let inputs = "generator/generator_*.ml" :: extra_inputs in
let inputs = "generator/ *.ml" :: extra_inputs in
let c = match comment with
| CStyle -> pr "/* "; " *"
| CPlusPlusStyle -> pr "// "; "//"

View File

@@ -1,6 +1,6 @@
# libguestfs generated file
# WARNING: THIS FILE IS GENERATED FROM:
# generator/generator_*.ml
# generator/ *.ml
# ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST.
#
# Copyright (C) 2009-2012 Red Hat Inc.

View File

@@ -1,6 +1,6 @@
# libguestfs generated file
# WARNING: THIS FILE IS GENERATED FROM:
# generator/generator_*.ml
# generator/ *.ml
# ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST.
#
# Copyright (C) 2009-2012 Red Hat Inc.