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

Commit 87c5e0f

Browse files
committed
Do not install the odbc header files, per discussion on odbc list.
1 parent 42ae4f2 commit 87c5e0f

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/interfaces/odbc/GNUmakefile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# GNUMakefile for psqlodbc (Postgres ODBC driver)
44
#
5-
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.17 2001/08/21 05:21:09 inoue Exp $
5+
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.18 2001/08/27 00:38:55 petere Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -39,29 +39,18 @@ include $(top_srcdir)/src/Makefile.shlib
3939
# names and we don't want those. (This issue is probably ELF specific.)
4040
LINK.shared += $(shlib_symbolic)
4141

42-
odbc_headers = isql.h isqlext.h iodbc.h
43-
odbc_includedir = $(includedir)/iodbc
4442

4543
install: all installdirs
46-
for i in $(odbc_headers); do $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(odbc_includedir)/$$i || exit 1; done
4744
$(INSTALL_DATA) $(srcdir)/odbcinst.ini $(DESTDIR)$(odbcinst_ini_dir)/odbcinst.ini
4845
$(INSTALL_DATA) $(srcdir)/odbc.sql $(DESTDIR)$(datadir)/odbc.sql
4946
$(MAKE) install-lib
5047

5148
installdirs:
52-
$(mkinstalldirs) $(DESTDIR)$(odbc_includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(odbcinst_ini_dir) $(DESTDIR)$(datadir)
49+
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(odbcinst_ini_dir) $(DESTDIR)$(datadir)
5350

5451
uninstall: uninstall-lib
55-
rm -f $(addprefix $(DESTDIR)$(odbc_includedir)/, $(odbc_headers))
5652
rm -f $(DESTDIR)$(datadir)/odbc.sql
5753
# XXX Uninstall the .ini file as well?
5854

5955
clean distclean maintainer-clean: clean-lib
6056
rm -f $(OBJS)
61-
62-
depend dep:
63-
$(CC) -MM $(CFLAGS) *.c >depend
64-
65-
ifeq (depend,$(wildcard depend))
66-
include depend
67-
endif

0 commit comments

Comments
 (0)