File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ byte = _obuild/ocp-indent/ocp-indent.byte
4
4
native = _obuild/ocp-indent/ocp-indent.asm
5
5
manpage = man/man1/ocp-indent.1
6
6
7
- OCPBUILD_ARGS = -install-lib $( prefix ) /lib
7
+ OCPBUILD_ARGS =
8
8
9
9
.PHONY : $(native ) $(byte )
10
10
@@ -55,21 +55,20 @@ install: ocp-indent $(manpage)
55
55
@echo " to your .emacs :"
56
56
@echo
57
57
@if [ " $( prefix) " != " /usr" ]; then \
58
- echo " (add-to-list 'load-path \" $( datarootdir) /emacs/site-lisp\" )" ; \
58
+ echo " (add-to-list 'load-path \" $( datarootdir) /emacs/site-lisp\" )" ; \
59
59
fi
60
60
@echo " (require 'ocp-indent)"
61
61
@echo
62
62
@echo " Vim users are welcome to add the following to their .vimrc :"
63
63
@echo
64
- @echo " ocaml source $( datarootdir) /vim/syntax/ocp-indent.vim"
64
+ @echo " ocaml source $( datarootdir) /vim/syntax/ocp-indent.vim"
65
65
@echo
66
66
67
67
.PHONY : uninstall
68
68
uninstall :
69
- rm $(mandir ) /man1/$(notdir $(manpage ) )
70
69
rm $(datarootdir ) /emacs/site-lisp/ocp-indent.el
71
70
rm $(datarootdir ) /vim/syntax/ocp-indent.vim
72
- ocp-build uninstall $( OCPBUILD_ARGS ) ocp-indent
71
+ opam-installer -- uninstall --prefix $( prefix ) ocp-indent.install
73
72
74
73
.PHONY : test
75
74
test : ocp-indent
@@ -89,4 +88,4 @@ ocp-build.root: version.ocp
89
88
echo " Error: you need ocp-build >= 1.99." >&2 ; \
90
89
exit 1; \
91
90
fi
92
- ocp-build -init -scan $(OCPBUILD_ARGS )
91
+ ocp-build -init $(OCPBUILD_ARGS )
You can’t perform that action at this time.
0 commit comments