diff options
| author | Peter Eisentraut | 2005-12-09 21:19:36 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2005-12-09 21:19:36 +0000 |
| commit | a29c04a541def774b10b8f119efe3724d92ee99a (patch) | |
| tree | 28e96bef9320953bb4b1c0e72760718338fa7bcb /src/Makefile.shlib | |
| parent | 3a20db975e73b507e8bf43fcbddd84d253ee78ef (diff) | |
Allow installation into directories containing spaces in the name.
Diffstat (limited to 'src/Makefile.shlib')
| -rw-r--r-- | src/Makefile.shlib | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 57f79c9ed5e..84d55069082 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.99 2005/12/03 20:16:31 tgl Exp $ +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.100 2005/12/09 21:19:34 petere Exp $ # #------------------------------------------------------------------------- @@ -162,7 +162,7 @@ ifeq ($(PORTNAME), hpux) # can't use the CC-syntax rpath pattern here rpath = ifeq ($(enable_rpath), yes) - LINK.shared = $(LD) +h $(soname) -b +b $(rpathdir) + LINK.shared = $(LD) +h $(soname) -b +b '$(rpathdir)' else LINK.shared = $(LD) +h $(soname) -b endif @@ -366,24 +366,24 @@ endif # enable_shared install-lib: install-lib-static install-lib-shared install-lib-static: lib$(NAME).a - $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/lib$(NAME).a + $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/lib$(NAME).a' ifeq ($(PORTNAME), darwin) - cd $(DESTDIR)$(libdir) && \ + cd '$(DESTDIR)$(libdir)' && \ ranlib lib$(NAME).a endif ifeq ($(enable_shared), yes) install-lib-shared: $(shlib) - $(INSTALL_SHLIB) $< $(DESTDIR)$(libdir)/$(shlib) + $(INSTALL_SHLIB) $< '$(DESTDIR)$(libdir)/$(shlib)' ifneq ($(PORTNAME), cygwin) ifneq ($(PORTNAME), win32) ifneq ($(shlib), $(shlib_major)) - cd $(DESTDIR)$(libdir) && \ + cd '$(DESTDIR)$(libdir)' && \ rm -f $(shlib_major) && \ $(LN_S) $(shlib) $(shlib_major) endif ifneq ($(shlib), $(shlib_bare)) - cd $(DESTDIR)$(libdir) && \ + cd '$(DESTDIR)$(libdir)' && \ rm -f $(shlib_bare) && \ $(LN_S) $(shlib) $(shlib_bare) endif @@ -398,11 +398,11 @@ endif # enable_shared .PHONY: uninstall-lib uninstall-lib: - rm -f $(DESTDIR)$(libdir)/lib$(NAME).a + rm -f '$(DESTDIR)$(libdir)/lib$(NAME).a' ifeq ($(enable_shared), yes) - rm -f $(DESTDIR)$(libdir)/$(shlib_bare) \ - $(DESTDIR)$(libdir)/$(shlib_major) \ - $(DESTDIR)$(libdir)/$(shlib) + rm -f '$(DESTDIR)$(libdir)/$(shlib_bare)' \ + '$(DESTDIR)$(libdir)/$(shlib_major)' \ + '$(DESTDIR)$(libdir)/$(shlib)' endif # enable_shared |
