]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/contrib/tools/cleanup-header
update
[l4.git] / l4 / pkg / ocaml / contrib / tools / cleanup-header
1 #!/bin/sed -f
2 # Remove private parts from runtime include files, before installation
3 # in /usr/local/lib/ocaml/caml
4
5 /\/\* <include \.\.\/config\/m\.h> \*\// {
6   r ../config/m.h
7   d
8 }
9 /\/\* <include \.\.\/config\/s\.h> \*\// {
10   r ../config/s.h
11   d
12 }
13 /\/\* <private> \*\//,/\/\* <\/private> \*\//d
14
15