File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,17 @@ build: _obuild
22 ocp-build build batsh
33 ln -sf _obuild/batsh/batsh.asm batsh
44
5- LIBDIR =$(CAML_LD_LIBRARY_PATH ) /../batsh
5+ LIBDIR =$(CAML_LD_LIBRARY_PATH ) /..
6+ BATSHDIR =$(LIBDIR ) /batsh
67
78install : build
8- ocp-build install -install-lib " $( LIBDIR) "
9+ ocp-build install batsh-lib batsh -install-lib " $( LIBDIR) "
10+ # This is an unly wordaround for fixing the generated META file
11+ sed -i ' s/ camlp4lib//g' " $( LIBDIR) /META.batsh"
12+ sed -i ' s/ camlp4lib//g' " $( LIBDIR) /META.batsh-lib"
913
1014uninstall :
11- ocp-build uninstall -install-lib " $( LIBDIR ) "
15+ ocp-build uninstall
1216
1317test : build
1418 ocp-build build test
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ begin library "batsh-lib"
3030 "winbat_transform.ml"
3131 ]
3232 requires = ["core_kernel" "dlist" "sexplib-syntax"]
33+ bundle = [ "batsh" ]
3334end
3435
3536begin program "batsh"
7374 dirname = ["%{type_conv_DST_DIR}%"]
7475 begin library "pa_type_conv"
7576 is_before = ["pa_macro"]
76- requires = ["camlp4lib" " camlp4-pa-o" "camlp4-pa-op"]
77+ requires = ["camlp4-pa-o" "camlp4-pa-op"]
7778 files = ["pa_type_conv.ml"]
7879 end
7980 begin syntax "pa_type_conv.syntax"
You can’t perform that action at this time.
0 commit comments