Fix makefile syntax.
authorAndrew Dunstan
Sun, 2 Feb 2014 00:52:11 +0000 (19:52 -0500)
committerAndrew Dunstan
Sun, 2 Feb 2014 00:52:11 +0000 (19:52 -0500)
src/interfaces/libpq/Makefile

index e1bd6c7436a0607f06da2b8f9369179a9d1ca588..57d29da783250e5f8eba703da309727c2ef83692 100644 (file)
@@ -120,7 +120,7 @@ install: all installdirs install-lib
    $(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
    $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
    $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
-ifneq (,$findstring($(PORTNAME), win32 cygwin))
+ifneq (,$(findstring $(PORTNAME), win32 cygwin))
    $(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)'
 endif
 
@@ -129,7 +129,7 @@ installcheck:
 
 installdirs: installdirs-lib
    $(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)'
-ifneq (,$findstring($(PORTNAME), win32 cygwin))
+ifneq (,$(findstring $(PORTNAME), win32 cygwin))
    $(MKDIR_P) '$(DESTDIR)$(bindir)'
 endif
 
@@ -139,7 +139,7 @@ uninstall: uninstall-lib
    rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
    rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
    rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
-ifneq (,$findstring($(PORTNAME), win32 cygwin))
+ifneq (,$(findstring $(PORTNAME), win32 cygwin))
    rm -f '$(DESTDIR)$(bindir)/$(shlib)'
 endif