diff options
author | Carl Worth <cworth@cworth.org> | 2011-01-26 23:29:15 +1000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-01-26 23:36:52 +1000 |
commit | 1a915d1b3852c5771507710ed470547b53b1c7ec (patch) | |
tree | 5788173398ede71e87218cd2fd5b7da53e53c629 /lib/Makefile.local | |
parent | b4b5e9ce4dac62111ec11da6d22b7e618056801f (diff) |
Makefile: Quote variables used as filenames in shell commands
This allows support for filenames with spaces in them.
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r-- | lib/Makefile.local | 12 |
1 files changed, 6 insertions, 6 deletions
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) |