emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] externals/caml f751b4c 091/197: NOCOMPILE pour installer sans c


From: Stefan Monnier
Subject: [nongnu] externals/caml f751b4c 091/197: NOCOMPILE pour installer sans compiler (suggestion de Sven Luther)
Date: Sat, 21 Nov 2020 01:19:44 -0500 (EST)

branch: externals/caml
commit f751b4c9a08db9448f8f05a721b590c2b157fe77
Author: Damien Doligez <damien.doligez-inria.fr>
Commit: Damien Doligez <damien.doligez-inria.fr>

    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
---
 Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8e97b6a..9dd9b1e 100644
--- a/Makefile
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]