branch: elpa/git-modes
commit 96abfb732d695cbd2075ba701254651a7b28d693
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    make: Remove install target
    
    None of my other packages of this (low) complexity have such a
    target and it is never being requested.  Now this Makefile has
    the same layout as the other Makefiles.
---
 Makefile | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/Makefile b/Makefile
index fb7a691e68..70d590df44 100644
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,12 @@ EMACS_ARGS ?=
 LOAD_PATH  ?= $(addprefix -L ../,$(DEPS))
 LOAD_PATH  += -L .
 
-PREFIX ?= /usr/local
-
 all: lisp
 
 help:
        $(info make all          - generate byte-code and autoloads)
        $(info make lisp         - generate byte-code and autoloads)
        $(info make clean        - remove generated files)
-       $(info make install      - install in $(PREFIX))
        @printf "\n"
 
 lisp: $(ELCS) loaddefs
@@ -54,13 +51,3 @@ $(PKG)-autoloads.el: $(ELS)
             ((symbol-function 'progress-reporter-done) (lambda (_))))\
     (let ((generated-autoload-file file))\
       (update-directory-autoloads default-directory))))"
-
-CP      ?= install -p -m 644
-MKDIR   ?= install -p -m 755 -d
-LISPDIR ?= $(PREFIX)/share/emacs/site-lisp/git-modes
-
-.PHONY: install
-install: lisp
-       @printf "Installing...\n"
-       @$(MKDIR) $(DESTDIR)$(LISPDIR)
-       @$(CP) $(ELS) $(ELCS) $(DESTDIR)$(LISPDIR)

Reply via email to