#!/bin/sed -f

#**************************************************************************
#*                                                                        *
#*                                 OCaml                                  *
#*                                                                        *
#*             Xavier Leroy, projet Cristal, INRIA Rocquencourt           *
#*                                                                        *
#*   Copyright 2002 Institut National de Recherche en Informatique et     *
#*     en Automatique.                                                    *
#*                                                                        *
#*   All rights reserved.  This file is distributed under the terms of    *
#*   the GNU Lesser General Public License version 2.1, with the          *
#*   special exception on linking described in the file LICENSE.          *
#*                                                                        *
#**************************************************************************

# Remove private parts from runtime include files, before installation
# in /usr/local/lib/ocaml/caml

/\/\* <include \.\.\/config\/m\.h> \*\// {
  r ../config/m.h
  d
}
/\/\* <include \.\.\/config\/s\.h> \*\// {
  r ../config/s.h
  d
}
/\/\* <private> \*\//,/\/\* <\/private> \*\//d
