From: Andrew Dunstan Date: Sun, 2 Feb 2014 00:51:57 +0000 (-0500) Subject: Fix makefile syntax. X-Git-Tag: REL9_1_12~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=308dd5b0dc6b4219d7c35004922cc840000052cd;p=postgresql Fix makefile syntax. --- diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 5640d8b1a9..39cbca3e7c 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -120,13 +120,13 @@ 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 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 @@ -136,7 +136,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