From: Mark Wooding Date: Mon, 14 Aug 2017 17:14:27 +0000 (+0100) Subject: Makefile: Contemplate the horrific possibility of not having Emacs. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/967148ffae77ae929805c81eac8069fe387f41a4 Makefile: Contemplate the horrific possibility of not having Emacs. --- diff --git a/Makefile b/Makefile index 8c0aa48..7668ee2 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,8 @@ _force: ###-------------------------------------------------------------------------- ### Emacs. +ifneq ($(EMACS),nil) + EMACSLIB = $(HOME)/lib/emacs ELISP += make-regexp ew-hols @@ -118,6 +120,8 @@ DOTLINKS += .emacs .emacs-calc .vm .gnus.el .ercrc.el all:: $(foreach e, $(ELISP), $(DEP_$e)) $(foreach e, $(ELISP), $(eval _emacs.$e: $(EMACSLIB)/$e.elc)) +endif + ###-------------------------------------------------------------------------- ### Other simpler things.