mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: do not generate mlv2v files when not needed
mlv2v is not shipped with libguestfs, so do not try to generate the files for it in case generator is invoked on a release tarball.
This commit is contained in:
@@ -347,10 +347,13 @@ Run it from the top source directory using the command
|
||||
output_to "gobject/src/session.c"
|
||||
GObject.generate_gobject_session_source;
|
||||
|
||||
output_to "common/mlv2v/uefi.ml"
|
||||
UEFI.generate_uefi_ml;
|
||||
output_to "common/mlv2v/uefi.mli"
|
||||
UEFI.generate_uefi_mli;
|
||||
(* mlv2v may not be shipped in this source. *)
|
||||
if is_regular_file "common/mlv2v/Makefile.am" then (
|
||||
output_to "common/mlv2v/uefi.ml"
|
||||
UEFI.generate_uefi_ml;
|
||||
output_to "common/mlv2v/uefi.mli"
|
||||
UEFI.generate_uefi_mli;
|
||||
);
|
||||
|
||||
output_to "common/mlcustomize/customize_cmdline.mli"
|
||||
Customize.generate_customize_cmdline_mli;
|
||||
|
||||
Reference in New Issue
Block a user