From 64ada3d57b1a6593b72d9a2d5e4a47bfc3729740 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 2 Jul 2012 10:01:07 +0100 Subject: [PATCH] lib: Don't include whenproto_aux.{ml,mli} in the tarball. These generated files are not compatible between releases of ocamlnet, so must be regenerated each time. A typical error is: File "whenproto_aux.ml", line 121, characters 13-25: Error: Unbound value Xdr.safe_add --- lib/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 747f074..70d84fa 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -30,6 +30,11 @@ OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX $(OCAMLPACKAGES) OCAMLOPTFLAGS = $(OCAMLCFLAGS) # These should be in alphabetical order. +# +# NB. whenproto_aux.{ml,mli} are not included here. These generated +# files are not compatible across different versions of ocamlnet, so +# must not be included in the tarball and should be regenerated by the +# user each time. SOURCES = \ config.ml \ config.mli \ @@ -39,8 +44,6 @@ SOURCES = \ whenfile.mli \ whenlock.ml \ whenlock.mli \ - whenproto_aux.ml \ - whenproto_aux.mli \ whenstate.ml \ whenstate.mli \ whentools.ml \ -- 1.8.3.1