aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2011-01-26 23:29:15 +1000
committerGravatar Carl Worth <cworth@cworth.org>2011-01-26 23:36:52 +1000
commit1a915d1b3852c5771507710ed470547b53b1c7ec (patch)
tree5788173398ede71e87218cd2fd5b7da53e53c629 /emacs
parentb4b5e9ce4dac62111ec11da6d22b7e618056801f (diff)
Makefile: Quote variables used as filenames in shell commands
This allows support for filenames with spaces in them.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/Makefile.local8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 9ea8e491..1c4166fe 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -32,11 +32,11 @@ endif
.PHONY: install-emacs
install-emacs:
- mkdir -p $(DESTDIR)$(emacslispdir)
- install -m0644 $(emacs_sources) $(DESTDIR)$(emacslispdir)
+ mkdir -p "$(DESTDIR)$(emacslispdir)"
+ install -m0644 $(emacs_sources) "$(DESTDIR)$(emacslispdir)"
ifeq ($(HAVE_EMACS),1)
- install -m0644 $(emacs_bytecode) $(DESTDIR)$(emacslispdir)
+ install -m0644 $(emacs_bytecode) "$(DESTDIR)$(emacslispdir)"
endif
- install -m0644 $(emacs_images) $(DESTDIR)$(emacslispdir)
+ install -m0644 $(emacs_images) "$(DESTDIR)$(emacslispdir)"
CLEAN := $(CLEAN) $(emacs_bytecode)