Skip to content

Commit c138b96

Browse files
committed
Replace useless uses of := by = in makefiles.
1 parent d7fee59 commit c138b96

File tree

46 files changed

+121
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+121
-123
lines changed

GNUmakefile.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.45 2006/08/18 19:58:05 adunstan Exp $
4+
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.46 2007/02/09 15:55:57 petere Exp $
55
#
66

77
subdir =
@@ -63,9 +63,9 @@ GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
6363

6464
##########################################################################
6565

66-
distdir := postgresql-$(VERSION)
67-
dummy := =install=
68-
garbage := =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
66+
distdir = postgresql-$(VERSION)
67+
dummy = =install=
68+
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
6969

7070
dist: $(distdir).tar.gz
7171
ifeq ($(split-dist), yes)
@@ -77,11 +77,11 @@ dist:
7777
$(distdir).tar: distdir
7878
$(TAR) chf $@ $(distdir)
7979

80-
opt_files := \
80+
opt_files = \
8181
src/tools src/tutorial \
8282
$(addprefix src/pl/, plperl plpython tcl)
8383

84-
docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail
84+
docs_files = doc/postgres.tar.gz doc/src doc/TODO.detail
8585

8686
postgresql-base-$(VERSION).tar: distdir
8787
$(TAR) -c $(addprefix --exclude $(distdir)/, $(docs_files) $(opt_files) src/test) \

contrib/tsearch2/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.17 2006/09/11 15:14:46 tgl Exp $
1+
# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.18 2007/02/09 15:55:57 petere Exp $
22

33
MODULE_big = tsearch2
44
OBJS = dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o \
@@ -9,8 +9,8 @@ OBJS = dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o \
99
query_util.o query_support.o query_rewrite.o query_gist.o \
1010
ts_locale.o ts_lexize.o ginidx.o
1111

12-
SUBDIRS := snowball ispell wordparser
13-
SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
12+
SUBDIRS = snowball ispell wordparser
13+
SUBDIROBJS = $(SUBDIRS:%=%/SUBSYS.o)
1414

1515
OBJS += $(SUBDIROBJS)
1616

doc/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/doc/Makefile,v 1.28 2005/12/09 21:19:34 petere Exp $
7+
# $PostgreSQL: pgsql/doc/Makefile,v 1.29 2007/02/09 15:55:57 petere Exp $
88
#
99
#----------------------------------------------------------------------------
1010

@@ -27,14 +27,14 @@ include $(top_builddir)/src/Makefile.global
2727

2828
ifneq ($(wildcard $(srcdir)/postgres.tar.gz),)
2929
ifneq (,$(docdir))
30-
found_html := yes
30+
found_html = yes
3131
endif
3232
endif
3333

3434
ifneq ($(wildcard $(srcdir)/man.tar.gz),)
3535
# SCO OpenServer's man system is sufficiently different to not bother.
3636
ifneq ($(PORTNAME), sco)
37-
found_man := yes
37+
found_man = yes
3838
endif
3939
endif
4040

doc/src/sgml/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
5-
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.94 2007/01/27 22:44:32 momjian Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.95 2007/02/09 15:55:57 petere Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -66,7 +66,7 @@ override SPFLAGS += -wall -wno-unused-param -wno-empty
6666

6767
.PHONY: html man draft clean
6868

69-
DEFAULTSECTION := $(sqlmansect_dummy)
69+
DEFAULTSECTION = $(sqlmansect_dummy)
7070

7171
fix_man_xrefs = $(PERL) -npi -e 's{\[XRef to GUC-([A-Z0-9-]*)\]}{($$l = $$1) =~ tr/A-Z-/a-z_/, $$l}ge || s{\[XRef to [A-Z0-9-]*\]}{in the documentation}g'
7272

@@ -105,7 +105,7 @@ draft:
105105
@$(MAKE) DRAFT="Y" html
106106

107107

108-
COLLATEINDEX := LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
108+
COLLATEINDEX = LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g
109109

110110
# bookindex.sgml is required so there is a proper index for all output formats
111111
bookindex.sgml: HTML.index

src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.232 2006/10/08 17:15:33 tgl Exp $
2+
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.233 2007/02/09 15:55:57 petere Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -341,7 +341,7 @@ endif
341341

342342
# This macro is for use by libraries linking to libpq. (Because libpgport
343343
# isn't created with the same link flags as libpq, it can't be used.)
344-
libpq := -L$(libpq_builddir) -lpq
344+
libpq = -L$(libpq_builddir) -lpq
345345

346346
# If doing static linking, shared library dependency info isn't available,
347347
# so add in the libraries that libpq depends on.

src/Makefile.shlib

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.106 2007/01/07 08:49:31 petere Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.107 2007/02/09 15:55:57 petere Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -77,7 +77,7 @@ ifeq ($(enable_shared), yes)
7777
SHLIB_LINK := $(filter -L%, $(SHLIB_LINK)) $(filter -L%, $(LDFLAGS)) $(filter-out -L%, $(SHLIB_LINK))
7878

7979
# Need a -L-free version of LDFLAGS to use in combination with SHLIB_LINK
80-
LDFLAGS_NO_L := $(filter-out -L%, $(LDFLAGS))
80+
LDFLAGS_NO_L = $(filter-out -L%, $(LDFLAGS))
8181

8282
# Default shlib naming convention used by the majority of platforms
8383
shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
@@ -102,15 +102,15 @@ endif
102102

103103
ifeq ($(PORTNAME), darwin)
104104
ifneq ($(SO_MAJOR_VERSION), 0)
105-
version_link := -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
105+
version_link = -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
106106
endif
107107
ifeq ($(DLTYPE), library)
108108
# linkable library
109-
DLSUFFIX := .dylib
109+
DLSUFFIX = .dylib
110110
LINK.shared = $(COMPILER) -dynamiclib -install_name $(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) $(version_link) $(exported_symbols_list) -multiply_defined suppress
111111
else
112112
# loadable module (default case)
113-
DLSUFFIX := .so
113+
DLSUFFIX = .so
114114
LINK.shared = $(COMPILER) -bundle -multiply_defined suppress
115115
endif
116116
shlib = lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
@@ -171,7 +171,7 @@ ifeq ($(PORTNAME), hpux)
171171
# ld can find the same libraries gcc does. Make sure it goes after any
172172
# -L switches provided explicitly.
173173
ifeq ($(GCC), yes)
174-
SHLIB_LINK := $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK))
174+
SHLIB_LINK = $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK))
175175
endif
176176
endif
177177
# do this last so above filtering doesn't pull out -L switches in LDFLAGS

src/backend/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.121 2007/01/20 17:16:10 petere Exp $
7+
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.122 2007/02/09 15:55:57 petere Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -13,11 +13,11 @@ subdir = src/backend
1313
top_builddir = ../..
1414
include $(top_builddir)/src/Makefile.global
1515

16-
DIRS := access bootstrap catalog parser commands executor lib libpq \
16+
DIRS = access bootstrap catalog parser commands executor lib libpq \
1717
main nodes optimizer port postmaster regex rewrite \
1818
storage tcop utils $(top_builddir)/src/timezone
1919

20-
SUBSYSOBJS := $(DIRS:%=%/SUBSYS.o)
20+
SUBSYSOBJS = $(DIRS:%=%/SUBSYS.o)
2121

2222
ifeq ($(enable_dtrace), yes)
2323
LOCALOBJS += utils/probes.o

src/backend/access/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#
22
# Makefile for the access methods module
33
#
4-
# $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.12 2007/01/20 17:16:10 petere Exp $
4+
# $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.13 2007/02/09 15:55:58 petere Exp $
55
#
66

77
subdir = src/backend/access
88
top_builddir = ../../..
99
include $(top_builddir)/src/Makefile.global
1010

11-
SUBDIRS := common gist hash heap index nbtree transam gin
12-
SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
11+
SUBDIRS = common gist hash heap index nbtree transam gin
12+
SUBDIROBJS = $(SUBDIRS:%=%/SUBSYS.o)
1313

1414
all: SUBSYS.o
1515

src/backend/catalog/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Makefile for backend/catalog
44
#
5-
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.62 2007/02/06 09:16:08 petere Exp $
5+
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.63 2007/02/09 15:55:58 petere Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -26,7 +26,7 @@ SUBSYS.o: $(OBJS)
2626
# the catalog header files are assembled into postgres.bki. In particular,
2727
# indexing.h had better be last, and toasting.h just before it.
2828

29-
POSTGRES_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
29+
POSTGRES_BKI_SRCS = $(addprefix $(top_srcdir)/src/include/catalog/,\
3030
pg_proc.h pg_type.h pg_attribute.h pg_class.h pg_autovacuum.h \
3131
pg_attrdef.h pg_constraint.h pg_inherits.h pg_index.h pg_operator.h \
3232
pg_opfamily.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
@@ -38,7 +38,7 @@ POSTGRES_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
3838
toasting.h indexing.h \
3939
)
4040

41-
pg_includes := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
41+
pg_includes = $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include)
4242

4343
# see explanation in ../parser/Makefile
4444
postgres.description: postgres.bki ;

src/backend/optimizer/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#
22
# Makefile for optimizer
33
#
4-
# $PostgreSQL: pgsql/src/backend/optimizer/Makefile,v 1.12 2007/01/20 17:16:11 petere Exp $
4+
# $PostgreSQL: pgsql/src/backend/optimizer/Makefile,v 1.13 2007/02/09 15:55:58 petere Exp $
55
#
66

77
subdir = src/backend/optimizer
88
top_builddir = ../../..
99
include $(top_builddir)/src/Makefile.global
1010

11-
SUBDIRS := geqo path plan prep util
12-
SUBDIROBJS := $(SUBDIRS:%=%/SUBSYS.o)
11+
SUBDIRS = geqo path plan prep util
12+
SUBDIROBJS = $(SUBDIRS:%=%/SUBSYS.o)
1313

1414
all: SUBSYS.o
1515

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy