Search
j0ke.net Open Build Service
>
Projects
>
devel
>
ocaml
> ocaml-3.09-emacs_localcompile.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ocaml-3.09-emacs_localcompile.patch of Package ocaml
--- emacs/Makefile +++ emacs/Makefile @@ -19,6 +19,10 @@ inf-caml.el caml-compat.el caml-help.el caml-types.el \ caml-xemacs.el caml-emacs.el +FILES_COMP= caml-xemacs.elc caml-emacs.elc caml.elc \ + inf-caml.elc caml-help.elc caml-types.elc \ + camldebug.elc + # Where to install. If empty, automatically determined. #EMACSDIR= @@ -60,10 +64,10 @@ simple-install: @echo "Installing in $(EMACSDIR)..." if test -d $(EMACSDIR); then : ; else mkdir -p $(EMACSDIR); fi - cp $(FILES) $(EMACSDIR) if [ -z "$(NOCOMPILE)" ]; then \ - cd $(EMACSDIR); $(EMACS) --batch --eval '$(COMPILECMD)'; \ + $(EMACS) --batch --eval '$(COMPILECMD)'; \ fi + cp $(FILES) $(FILES_COMP) $(EMACSDIR) ocamltags: ocamltags.in sed -e 's:@EMACS@:$(EMACS):' ocamltags.in >ocamltags