]> granicus.if.org Git - postgresql/commitdiff
Fix makefile syntax.
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 2 Feb 2014 00:52:25 +0000 (19:52 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 2 Feb 2014 00:52:25 +0000 (19:52 -0500)
src/interfaces/libpq/Makefile

index b676b58118af7bee1b56870d199efab22f58c1ab..a3030ca26a0914e79c1d44c2b1e4f817a10295df 100644 (file)
@@ -121,7 +121,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
 
@@ -130,7 +130,7 @@ installcheck:
 
 installdirs: installdirs-lib
        $(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' '$(DESTDIR)$(datadir)'
-ifneq (,$findstring($(PORTNAME), win32 cygwin))
+ifneq (,$(findstring $(PORTNAME), win32 cygwin))
        $(MKDIR_P) '$(DESTDIR)$(bindir)'
 endif
 
@@ -140,7 +140,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