Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
get rid of .cmt in install-findlib, they may not be there!
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Mar 12, 2014
1 parent 556ec2c commit 6aae0b1
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion commons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,13 @@ install: all all.opt
common.mli ocaml.mli \
$(OCAMLSTDLIB)/$(LIBNAME)

#todo: $(EXPORTSRC:%.mli=%.cmt) but must be guarded by having bin-annot

# note that the dlllib.so will be added in lib/stublibs/
install-findlib: all all.opt
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
dlllib.so liblib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt)
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi)

uninstall-findlib:
ocamlfind remove $(LIBNAME)
Expand Down
2 changes: 1 addition & 1 deletion graph_code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ EXPORTSRC=
install-findlib: all all.opt
ocamlfind install $(LIBNAME) META \
lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt)
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi)
2 changes: 1 addition & 1 deletion h_program-lang/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ EXPORTSRC=parse_info.mli scope_code.mli
install-findlib: all all.opt
ocamlfind install $(LIBNAME) META \
lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt)
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi)
2 changes: 1 addition & 1 deletion h_visualization/treemap.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type rectangle1 =
* use the full width.
* old: was 16/9 = 1.777777
*)
let xy_ratio = 1.6
let xy_ratio = 1.71

(* The dimentions are in a [0.0-1.0] range for y and [0.0-xyratio] for x,
* where xyratio is used to cope with most 16/9 screens.
Expand Down
2 changes: 1 addition & 1 deletion lang_cpp/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ EXPORTSRC=meta_ast_cpp.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_cpp.ml ast_cpp.cmi
2 changes: 1 addition & 1 deletion lang_css/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ EXPORTSRC=meta_ast_css.mli \
install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_css.ml ast_css.cmi
2 changes: 1 addition & 1 deletion lang_html/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ EXPORTSRC=meta_ast_html.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_html.ml ast_html.cmi
2 changes: 1 addition & 1 deletion lang_java/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ EXPORTSRC=meta_ast_java.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_java.ml ast_java.cmi
2 changes: 1 addition & 1 deletion lang_js/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ EXPORTSRC=meta_ast_js.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_js.ml ast_js.cmi ast_js.cmo ast_js.cmx
2 changes: 1 addition & 1 deletion lang_ml/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ EXPORTSRC=meta_ast_ml.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_ml.ml ast_ml.cmi
2 changes: 1 addition & 1 deletion lang_php/parsing/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ EXPORTSRC=meta_ast_php.mli unparse_php.mli \

install-findlib:
ocamlfind install $(LIBNAME) META lib.cma lib.cmxa lib.a \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) $(EXPORTSRC:%.mli=%.cmt) \
$(EXPORTSRC) $(EXPORTSRC:%.mli=%.cmi) \
ast_php.ml ast_php.cmi ast_php.cmo ast_php.cmx \
flag_parsing_php.ml flag_parsing_php.cmi flag_parsing_php.cmo flag_parsing_php.cmx \

Expand Down

0 comments on commit 6aae0b1

Please sign in to comment.