From: Richard W.M. Jones Date: Mon, 2 Jul 2012 09:01:07 +0000 (+0100) Subject: lib: Don't include whenproto_aux.{ml,mli} in the tarball. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=64ada3d57b1a6593b72d9a2d5e4a47bfc3729740;p=whenjobs.git 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 --- 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 \