From f9be9ea547d0f6671e9cf6f56181ca7a542d1586 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Fri, 5 Oct 2012 21:26:22 +0000 Subject: [PATCH] Install all headers into one place. FossilOrigin-Name: 86adc6aab9e6ef2189e3f6f015aa53341dd840aa1589c8218531b312754dd72f --- Makefile | 4 ++-- ObjPgSQL.h | 9 +++++---- exceptions/PGException.h | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index ddc9886..a86c213 100644 --- a/Makefile +++ b/Makefile @@ -48,10 +48,10 @@ clean: rm -fr build install: - mkdir -p ${destdir}${prefix}/include/ObjPgSQL/exceptions + mkdir -p ${destdir}${prefix}/include/ObjPgSQL for i in ${HEADERS}; do \ ${INSTALL} -m 644 $$i \ - ${destdir}${prefix}/include/ObjPgSQL/$$i; \ + ${destdir}${prefix}/include/ObjPgSQL/$$(basename $$i); \ done mkdir -p ${destdir}${prefix}/lib export LIB_MAJOR=${LIB_MAJOR}; \ diff --git a/ObjPgSQL.h b/ObjPgSQL.h index 25201ab..b650924 100644 --- a/ObjPgSQL.h +++ b/ObjPgSQL.h @@ -1,6 +1,7 @@ -#import "PGConnection.h" #import "PGResult.h" #import "PGResultRow.h" -#import "exceptions/PGCommandFailedException.h" -#import "exceptions/PGConnectionFailedException.h" -#import "exceptions/PGException.h" +#import "PGConnection.h" + +#import "PGException.h" +#import "PGCommandFailedException.h" +#import "PGConnectionFailedException.h" diff --git a/exceptions/PGException.h b/exceptions/PGException.h index 71648fa..3e9b73b 100644 --- a/exceptions/PGException.h +++ b/exceptions/PGException.h @@ -1,6 +1,6 @@ #import -#import "../PGConnection.h" +#import "PGConnection.h" @interface PGException: OFException {