chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6cf9741
)
Makefile: Contemplate the horrific possibility of not having Emacs.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 14 Aug 2017 17:14:27 +0000
(18:14 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 14 Aug 2017 17:14:27 +0000
(18:14 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 8c0aa480a4d28c72d315587a229de58dc4191c76..7668ee2d3755310ea1fbce78ec1451a631a689f5 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-64,6
+64,8
@@
_force:
###--------------------------------------------------------------------------
### Emacs.
###--------------------------------------------------------------------------
### Emacs.
+ifneq ($(EMACS),nil)
+
EMACSLIB = $(HOME)/lib/emacs
ELISP += make-regexp ew-hols
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))
all:: $(foreach e, $(ELISP), $(DEP_$e))
$(foreach e, $(ELISP), $(eval _emacs.$e: $(EMACSLIB)/$e.elc))
+endif
+
###--------------------------------------------------------------------------
### Other simpler things.
###--------------------------------------------------------------------------
### Other simpler things.