chiark / gitweb /
Makefile: Contemplate the horrific possibility of not having Emacs.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 14 Aug 2017 17:14:27 +0000 (18:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 14 Aug 2017 17:14:27 +0000 (18:14 +0100)
Makefile

index 8c0aa480a4d28c72d315587a229de58dc4191c76..7668ee2d3755310ea1fbce78ec1451a631a689f5 100644 (file)
--- 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.