X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=766650f398f57ab5e4ade06d33cac00e7a6bbd03;hp=df5ff7e2fc86f9ca639587e485cd73af97f3ea04;hb=da85ed425dc828ef4b8817f64d448101a88507b5;hpb=5186251f8f681f2ebb028423bb49a748861fd11e diff --git a/src/generator.ml b/src/generator.ml index df5ff7e..766650f 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -8712,3 +8712,10 @@ Run it from the top source directory using the command let close = output_to "src/MAX_PROC_NR" in generate_max_proc_nr (); close (); + + (* Always generate this file last, and unconditionally. It's used + * by the Makefile to know when we must re-run the generator. + *) + let chan = open_out "src/stamp-generator" in + fprintf chan "1\n"; + close_out chan