Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bbf4dae

Browse files
author
Thomas G. Lockhart
committed
Remove $(DESTDIR) as a path prefix. $(POSTGRESDIR) is sufficient now.
1 parent 624eb9e commit bbf4dae

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/interfaces/odbc/GNUmakefile.in

+12-13
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,23 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.4 1998/10/09 21:28:50 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.5 1998/10/14 16:09:32 thomas Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313
@SET_MAKE@
1414

1515
NAME = psqlodbc
16-
SRCDIR=@top_srcdir@
17-
ODBCSRCDIR=@srcdir@
16+
SRCDIR= @top_srcdir@
17+
ODBCSRCDIR= @srcdir@
1818
include $(SRCDIR)/Makefile.global
1919

2020
include Version.mk
2121
PORTNAME= @PORTNAME@
2222

23-
FIND = @find@
24-
23+
FIND= @find@
2524
# assuming gnu tar and split here
26-
TAR = @tar@
27-
SPLIT = @split@
25+
TAR= @tar@
26+
SPLIT= @split@
2827

2928
install-shlib-dep := install-shlib
3029
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
@@ -82,14 +81,14 @@ beforeinstall-headers:
8281
@if [ ! -d $(HEADERDIR)/iodbc ]; then mkdir -p $(HEADERDIR)/iodbc; fi
8382

8483
install-libpsqlodbc: libpsqlodbc.a
85-
$(INSTALL) $(INSTL_LIB_OPTS) libpsqlodbc.a $(DESTDIR)$(LIBDIR)/lib$(NAME).a
84+
$(INSTALL) $(INSTL_LIB_OPTS) libpsqlodbc.a $(LIBDIR)/lib$(NAME).a
8685

8786
install-shlib: $(shlib)
88-
$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(DESTDIR)$(LIBDIR)/$(shlib)
89-
rm -f $(DESTDIR)$(LIBDIR)/lib$(NAME)$(DLSUFFIX)
90-
rm -f $(DESTDIR)$(LIBDIR)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
91-
cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
92-
cd $(DESTDIR)$(LIBDIR) && $(LN_S) -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) lib$(NAME)$(DLSUFFIX)
87+
$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) $(LIBDIR)/$(shlib)
88+
rm -f $(LIBDIR)/lib$(NAME)$(DLSUFFIX)
89+
rm -f $(LIBDIR)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
90+
cd $(LIBDIR) && $(LN_S) -f $(shlib) lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
91+
cd $(LIBDIR) && $(LN_S) -f $(shlib) lib$(NAME)$(DLSUFFIX)
9392

9493
install-ini: odbcinst.ini
9594
$(INSTALL) $(INSTL_LIB_OPTS) odbcinst.ini $(ODBCINST)

0 commit comments

Comments
 (0)