summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ocaml/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 52870354..95185efd 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -139,9 +139,9 @@ depend: .depend
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f $@ $@-t
$(OCAMLFIND) ocamldep $^ | \
- $(SED) 's/ *$$//' | \
+ $(SED) -e 's/ *$$//' | \
$(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
- sort > $@-t
+ LANG=C sort > $@-t
mv $@-t $@
include .depend