Description: Fix installation of ogr_fdw_info binary.
 It would get installed with the name of the binary direcory itself instead of
 bin/ogr_fdw_info.
Last-Update: 2017-02-19
Author: Michael Fladischer <fladi@debian.org>
Forwarded: no

Index: postgresql-ogr-fdw/Makefile
===================================================================
--- postgresql-ogr-fdw.orig/Makefile	2017-02-12 21:30:23.052413721 +0100
+++ postgresql-ogr-fdw/Makefile	2017-02-19 19:16:44.736277938 +0100
@@ -44,7 +44,7 @@
 	rm -f ogr_fdw_info$(X) ogr_fdw_info.o stringbuffer.o
 
 install-exe: all
-	$(INSTALL_PROGRAM) ogr_fdw_info$(X) '$(DESTDIR)$(bindir)'
+	$(INSTALL_PROGRAM) -D ogr_fdw_info$(X) '$(DESTDIR)$(bindir)/ogr_fdw_info'
 
 all: ogr_fdw_info$(X)
 
