diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2003-08-29 15:38:28 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2003-08-29 15:38:28 +0000 |
| commit | f5419d3384faceb1fc6bb59694cb7d830d2b11c3 (patch) | |
| tree | 52d02b8df101c31d7d04e36bfb57bf82ed1b902c /emacs | |
| parent | 5c2cad4195d7ece37e2875c866eb7b0875b14964 (diff) | |
| download | ocaml-f5419d3384faceb1fc6bb59694cb7d830d2b11c3.tar.gz | |
NOCOMPILE pour installer sans compiler (suggestion de Sven Luther)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/Makefile b/emacs/Makefile index 8e97b6aebd..9dd9b1e58f 100644 --- a/emacs/Makefile +++ b/emacs/Makefile @@ -40,11 +40,17 @@ install: $(MAKE) simple-install; \ fi +# install the .el files, but do not compile them. +install-el: + $(MAKE) NOCOMPILE=true install + simple-install: @echo "Installing in $(EMACSDIR)..." if test -d $(EMACSDIR); then : ; else mkdir -p $(EMACSDIR); fi cp $(FILES) $(EMACSDIR) - cd $(EMACSDIR); $(EMACS) --batch --eval '$(COMPILECMD)' + if [ -z "$(NOCOMPILE)" ]; then \ + cd $(EMACSDIR); $(EMACS) --batch --eval '$(COMPILECMD)'; \ + fi ocamltags: ocamltags.in sed -e 's:@EMACS@:$(EMACS):' ocamltags.in >ocamltags |
