From 1a915d1b3852c5771507710ed470547b53b1c7ec Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 26 Jan 2011 23:29:15 +1000 Subject: Makefile: Quote variables used as filenames in shell commands This allows support for filenames with spaces in them. --- lib/Makefile.local | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/Makefile.local') diff --git a/lib/Makefile.local b/lib/Makefile.local index 5233ea6a..f4b2c7b9 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -86,12 +86,12 @@ install: install-$(dir) # variable that is not reused. lib := $(dir) install-$(dir): - mkdir -p $(DESTDIR)$(libdir)/ - install -m0644 $(lib)/$(LIBNAME) $(DESTDIR)$(libdir)/ - ln -sf $(LIBNAME) $(DESTDIR)$(libdir)/$(SONAME) - ln -sf $(LIBNAME) $(DESTDIR)$(libdir)/$(LINKER_NAME) - mkdir -p $(DESTDIR)$(includedir) - install -m0644 $(lib)/notmuch.h $(DESTDIR)$(includedir)/ + mkdir -p "$(DESTDIR)$(libdir)/" + install -m0644 "$(lib)/$(LIBNAME)" "$(DESTDIR)$(libdir)/" + ln -sf $(LIBNAME) "$(DESTDIR)$(libdir)/$(SONAME)" + ln -sf $(LIBNAME) "$(DESTDIR)$(libdir)/$(LINKER_NAME)" + mkdir -p "$(DESTDIR)$(includedir)" + install -m0644 "$(lib)/notmuch.h" "$(DESTDIR)$(includedir)/" $(LIBRARY_INSTALL_POST_COMMAND) SRCS := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs) -- cgit v1.2.3