Skip to content

Commit c73423d

Browse files
committed
Fix makefile syntax.
1 parent 3c7b4ef commit c73423d

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
@@ -112,13 +112,13 @@ install: all installdirs install-lib
112112
$(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
113113
$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
114114
$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
115-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
115+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
116116
$(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)'
117117
endif
118118

119119
installdirs: installdirs-lib
120120
$(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
121-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
121+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
122122
$(MKDIR_P) '$(DESTDIR)$(bindir)'
123123
endif
124124

@@ -128,7 +128,7 @@ uninstall: uninstall-lib
128128
rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
129129
rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
130130
rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
131-
ifneq (,$findstring($(PORTNAME), win32 cygwin))
131+
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
132132
rm -f '$(DESTDIR)$(bindir)/$(shlib)'
133133
endif
134134

0 commit comments

Comments
 (0)