lib: Don't include whenproto_aux.{ml,mli} in the tarball.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 2 Jul 2012 09:01:07 +0000 (10:01 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 2 Jul 2012 09:01:07 +0000 (10:01 +0100)
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

index 747f074..70d84fa 100644 (file)
@@ -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 \