Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit baeafa9

Browse files
committed
Clean up gmake warning caused by recent NetBSD patch. <grumble>
1 parent 791bc68 commit baeafa9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/backend/Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#
3535
#
3636
# IDENTIFICATION
37-
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.44 2000/03/08 01:58:16 momjian Exp $
37+
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.45 2000/03/08 22:00:19 tgl Exp $
3838
#
3939
#-------------------------------------------------------------------------
4040

@@ -257,16 +257,25 @@ ifeq ($(PORTNAME), hpux)
257257
$(HEADERDIR)/port/hpux/fixade.h
258258
endif
259259

260-
261260
$(BINDIR):
262261
mkdir $@
262+
263263
$(LIBDIR):
264264
mkdir $@
265+
265266
$(HEADERDIR):
266267
mkdir $@
268+
269+
# TEMPLATEDIR is commonly the same as LIBDIR, but it might be different.
270+
# We don't want duplicate rules if they are the same.
271+
ifneq ($(TEMPLATEDIR),$(LIBDIR))
272+
267273
$(TEMPLATEDIR):
268274
mkdir $@
269275

276+
endif
277+
278+
270279
#############################################################################
271280
#
272281
# Support for code development.

0 commit comments

Comments
 (0)