summaryrefslogtreecommitdiff
path: root/src/backend/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2005-12-09 21:19:36 +0000
committerPeter Eisentraut <peter_e@gmx.net>2005-12-09 21:19:36 +0000
commita29c04a541def774b10b8f119efe3724d92ee99a (patch)
tree28e96bef9320953bb4b1c0e72760718338fa7bcb /src/backend/Makefile
parent3a20db975e73b507e8bf43fcbddd84d253ee78ef (diff)
downloadpostgresql-a29c04a541def774b10b8f119efe3724d92ee99a.tar.gz
Allow installation into directories containing spaces in the name.
Diffstat (limited to 'src/backend/Makefile')
-rw-r--r--src/backend/Makefile48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile
index fc0e772381..9543b3b5a9 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.112 2005/11/28 22:43:30 tgl Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.113 2005/12/09 21:19:34 petere Exp $
#
#-------------------------------------------------------------------------
@@ -159,73 +159,73 @@ distprep:
install: all installdirs install-bin
ifeq ($(PORTNAME), cygwin)
ifeq ($(MAKE_DLL), true)
- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a
+ $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
endif
endif
ifeq ($(PORTNAME), win32)
ifeq ($(MAKE_DLL), true)
- $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a
+ $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a'
endif
endif
$(MAKE) -C catalog install-data
- $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample
- $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample
- $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample
- $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample $(DESTDIR)$(datadir)/recovery.conf.sample
+ $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample'
+ $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample'
+ $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample'
+ $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample'
install-bin: postgres $(POSTGRES_IMP) installdirs
- $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X)
+ $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
ifneq ($(PORTNAME), win32)
- @rm -f $(DESTDIR)$(bindir)/postmaster$(X)
- ln -s postgres$(X) $(DESTDIR)$(bindir)/postmaster$(X)
+ @rm -f '$(DESTDIR)$(bindir)/postmaster$(X)'
+ ln -s postgres$(X) '$(DESTDIR)$(bindir)/postmaster$(X)'
else
- $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postmaster$(X)
+ $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postmaster$(X)'
endif
ifeq ($(MAKE_EXPORTS), true)
- $(INSTALL_DATA) $(POSTGRES_IMP) $(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)
+ $(INSTALL_DATA) $(POSTGRES_IMP) '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)'
endif
.PHONY: install-bin
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)
+ $(mkinstalldirs) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)'
ifeq ($(PORTNAME), cygwin)
ifeq ($(MAKE_DLL), true)
- $(mkinstalldirs) $(DESTDIR)$(libdir)
+ $(mkinstalldirs) '$(DESTDIR)$(libdir)'
endif
endif
ifeq ($(PORTNAME), win32)
ifeq ($(MAKE_DLL), true)
- $(mkinstalldirs) $(DESTDIR)$(libdir)
+ $(mkinstalldirs) '$(DESTDIR)$(libdir)'
endif
endif
ifeq ($(MAKE_EXPORTS), true)
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+ $(mkinstalldirs) '$(DESTDIR)$(pkglibdir)'
endif
##########################################################################
uninstall:
- rm -f $(DESTDIR)$(bindir)/postgres$(X) $(DESTDIR)$(bindir)/postmaster
+ rm -f '$(DESTDIR)$(bindir)/postgres$(X)' '$(DESTDIR)$(bindir)/postmaster'
ifeq ($(MAKE_EXPORTS), true)
- rm -f $(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)
+ rm -f '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)'
endif
ifeq ($(PORTNAME), cygwin)
ifeq ($(MAKE_DLL), true)
- rm -f $(DESTDIR)$(libdir)/libpostgres.a
+ rm -f '$(DESTDIR)$(libdir)/libpostgres.a'
endif
endif
ifeq ($(PORTNAME), win32)
ifeq ($(MAKE_DLL), true)
- rm -f $(DESTDIR)$(libdir)/libpostgres.a
+ rm -f '$(DESTDIR)$(libdir)/libpostgres.a'
endif
endif
$(MAKE) -C catalog uninstall-data
- rm -f $(DESTDIR)$(datadir)/pg_hba.conf.sample \
- $(DESTDIR)$(datadir)/pg_service.conf.sample \
- $(DESTDIR)$(datadir)/pg_ident.conf.sample \
- $(DESTDIR)$(datadir)/postgresql.conf.sample
+ rm -f '$(DESTDIR)$(datadir)/pg_hba.conf.sample' \
+ '$(DESTDIR)$(datadir)/pg_ident.conf.sample' \
+ '$(DESTDIR)$(datadir)/postgresql.conf.sample' \
+ '$(DESTDIR)$(datadir)/recovery.conf.sample'
##########################################################################