Skip to content

Commit 308dd5b

Browse files
committed
Fix makefile syntax.
1 parent 399d23e commit 308dd5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/libpq/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ install: all installdirs install-lib
120120
$(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
121121
$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
122122
$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
123-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
123+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
124124
$(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)'
125125
endif
126126

127127
installdirs: installdirs-lib
128128
$(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
129-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
129+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
130130
$(MKDIR_P) '$(DESTDIR)$(bindir)'
131131
endif
132132

@@ -136,7 +136,7 @@ uninstall: uninstall-lib
136136
rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
137137
rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
138138
rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
139-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
139+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
140140
rm -f '$(DESTDIR)$(bindir)/$(shlib)'
141141
endif
142142

0 commit comments

Comments
 (0)