|
4 | 4 | #
|
5 | 5 | # Copyright (c) 1994, Regents of the University of California
|
6 | 6 | #
|
7 |
| -# $PostgreSQL: pgsql/src/backend/Makefile,v 1.112 2005/11/28 22:43:30 tgl Exp $ |
| 7 | +# $PostgreSQL: pgsql/src/backend/Makefile,v 1.113 2005/12/09 21:19:34 petere Exp $ |
8 | 8 | #
|
9 | 9 | #-------------------------------------------------------------------------
|
10 | 10 |
|
@@ -159,73 +159,73 @@ distprep:
|
159 | 159 | install: all installdirs install-bin
|
160 | 160 | ifeq ($(PORTNAME), cygwin)
|
161 | 161 | ifeq ($(MAKE_DLL), true)
|
162 |
| - $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a |
| 162 | + $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' |
163 | 163 | endif
|
164 | 164 | endif
|
165 | 165 | ifeq ($(PORTNAME), win32)
|
166 | 166 | ifeq ($(MAKE_DLL), true)
|
167 |
| - $(INSTALL_DATA) libpostgres.a $(DESTDIR)$(libdir)/libpostgres.a |
| 167 | + $(INSTALL_DATA) libpostgres.a '$(DESTDIR)$(libdir)/libpostgres.a' |
168 | 168 | endif
|
169 | 169 | endif
|
170 | 170 | $(MAKE) -C catalog install-data
|
171 |
| - $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample $(DESTDIR)$(datadir)/pg_hba.conf.sample |
172 |
| - $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample $(DESTDIR)$(datadir)/pg_ident.conf.sample |
173 |
| - $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample $(DESTDIR)$(datadir)/postgresql.conf.sample |
174 |
| - $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample $(DESTDIR)$(datadir)/recovery.conf.sample |
| 171 | + $(INSTALL_DATA) $(srcdir)/libpq/pg_hba.conf.sample '$(DESTDIR)$(datadir)/pg_hba.conf.sample' |
| 172 | + $(INSTALL_DATA) $(srcdir)/libpq/pg_ident.conf.sample '$(DESTDIR)$(datadir)/pg_ident.conf.sample' |
| 173 | + $(INSTALL_DATA) $(srcdir)/utils/misc/postgresql.conf.sample '$(DESTDIR)$(datadir)/postgresql.conf.sample' |
| 174 | + $(INSTALL_DATA) $(srcdir)/access/transam/recovery.conf.sample '$(DESTDIR)$(datadir)/recovery.conf.sample' |
175 | 175 |
|
176 | 176 | install-bin: postgres $(POSTGRES_IMP) installdirs
|
177 |
| - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postgres$(X) |
| 177 | + $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)' |
178 | 178 | ifneq ($(PORTNAME), win32)
|
179 |
| - @rm -f $(DESTDIR)$(bindir)/postmaster$(X) |
180 |
| - ln -s postgres$(X) $(DESTDIR)$(bindir)/postmaster$(X) |
| 179 | + @rm -f '$(DESTDIR)$(bindir)/postmaster$(X)' |
| 180 | + ln -s postgres$(X) '$(DESTDIR)$(bindir)/postmaster$(X)' |
181 | 181 | else
|
182 |
| - $(INSTALL_PROGRAM) postgres$(X) $(DESTDIR)$(bindir)/postmaster$(X) |
| 182 | + $(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postmaster$(X)' |
183 | 183 | endif
|
184 | 184 | ifeq ($(MAKE_EXPORTS), true)
|
185 |
| - $(INSTALL_DATA) $(POSTGRES_IMP) $(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP) |
| 185 | + $(INSTALL_DATA) $(POSTGRES_IMP) '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)' |
186 | 186 | endif
|
187 | 187 |
|
188 | 188 | .PHONY: install-bin
|
189 | 189 |
|
190 | 190 | installdirs:
|
191 |
| - $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) |
| 191 | + $(mkinstalldirs) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)' |
192 | 192 | ifeq ($(PORTNAME), cygwin)
|
193 | 193 | ifeq ($(MAKE_DLL), true)
|
194 |
| - $(mkinstalldirs) $(DESTDIR)$(libdir) |
| 194 | + $(mkinstalldirs) '$(DESTDIR)$(libdir)' |
195 | 195 | endif
|
196 | 196 | endif
|
197 | 197 | ifeq ($(PORTNAME), win32)
|
198 | 198 | ifeq ($(MAKE_DLL), true)
|
199 |
| - $(mkinstalldirs) $(DESTDIR)$(libdir) |
| 199 | + $(mkinstalldirs) '$(DESTDIR)$(libdir)' |
200 | 200 | endif
|
201 | 201 | endif
|
202 | 202 | ifeq ($(MAKE_EXPORTS), true)
|
203 |
| - $(mkinstalldirs) $(DESTDIR)$(pkglibdir) |
| 203 | + $(mkinstalldirs) '$(DESTDIR)$(pkglibdir)' |
204 | 204 | endif
|
205 | 205 |
|
206 | 206 |
|
207 | 207 | ##########################################################################
|
208 | 208 |
|
209 | 209 | uninstall:
|
210 |
| - rm -f $(DESTDIR)$(bindir)/postgres$(X) $(DESTDIR)$(bindir)/postmaster |
| 210 | + rm -f '$(DESTDIR)$(bindir)/postgres$(X)' '$(DESTDIR)$(bindir)/postmaster' |
211 | 211 | ifeq ($(MAKE_EXPORTS), true)
|
212 |
| - rm -f $(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP) |
| 212 | + rm -f '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)' |
213 | 213 | endif
|
214 | 214 | ifeq ($(PORTNAME), cygwin)
|
215 | 215 | ifeq ($(MAKE_DLL), true)
|
216 |
| - rm -f $(DESTDIR)$(libdir)/libpostgres.a |
| 216 | + rm -f '$(DESTDIR)$(libdir)/libpostgres.a' |
217 | 217 | endif
|
218 | 218 | endif
|
219 | 219 | ifeq ($(PORTNAME), win32)
|
220 | 220 | ifeq ($(MAKE_DLL), true)
|
221 |
| - rm -f $(DESTDIR)$(libdir)/libpostgres.a |
| 221 | + rm -f '$(DESTDIR)$(libdir)/libpostgres.a' |
222 | 222 | endif
|
223 | 223 | endif
|
224 | 224 | $(MAKE) -C catalog uninstall-data
|
225 |
| - rm -f $(DESTDIR)$(datadir)/pg_hba.conf.sample \ |
226 |
| - $(DESTDIR)$(datadir)/pg_service.conf.sample \ |
227 |
| - $(DESTDIR)$(datadir)/pg_ident.conf.sample \ |
228 |
| - $(DESTDIR)$(datadir)/postgresql.conf.sample |
| 225 | + rm -f '$(DESTDIR)$(datadir)/pg_hba.conf.sample' \ |
| 226 | + '$(DESTDIR)$(datadir)/pg_ident.conf.sample' \ |
| 227 | + '$(DESTDIR)$(datadir)/postgresql.conf.sample' \ |
| 228 | + '$(DESTDIR)$(datadir)/recovery.conf.sample' |
229 | 229 |
|
230 | 230 |
|
231 | 231 | ##########################################################################
|
|
0 commit comments