diff --git a/Data/MySQL/Makefile b/Data/MySQL/Makefile
index bfcba995e..2263c3a43 100644
--- a/Data/MySQL/Makefile
+++ b/Data/MySQL/Makefile
@@ -9,7 +9,7 @@
include $(POCO_BASE)/build/rules/global
SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX) -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/mysql/include
+INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/local/mysql/include
SYSFLAGS += -DTHREADSAFE -DNO_TCL
objects = Binder Extractor SessionImpl Connector \
diff --git a/Data/MySQL/dependencies b/Data/MySQL/dependencies
new file mode 100644
index 000000000..bef728c9a
--- /dev/null
+++ b/Data/MySQL/dependencies
@@ -0,0 +1,2 @@
+Foundation
+Data
diff --git a/Data/MySQL/testsuite/Makefile b/Data/MySQL/testsuite/Makefile
index d5d5c042a..a845628f3 100644
--- a/Data/MySQL/testsuite/Makefile
+++ b/Data/MySQL/testsuite/Makefile
@@ -8,7 +8,7 @@
include $(POCO_BASE)/build/rules/global
-INCLUDE += -I./../include -I/usr/local/include/mysql -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/mysql/include
+INCLUDE += -I./../include -I/usr/local/include/mysql -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/local/mysql/include
# Note: linking order is important, do not change it.
SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX) -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient -lz -lpthread -ldl
diff --git a/Data/ODBC/ODBC.make b/Data/ODBC/ODBC.make
index f457e950f..30eb5e371 100644
--- a/Data/ODBC/ODBC.make
+++ b/Data/ODBC/ODBC.make
@@ -6,8 +6,18 @@
# Makefile fragment for finding ODBC library
#
-ifndef POCO_ODBC_LIB_DIR
-POCO_ODBC_LIB_DIR = /usr/lib
+ifndef POCO_ODBC_INCLUDE
+POCO_ODBC_INCLUDE = /usr/include
+endif
+
+ifndef POCO_ODBC_LIB
+ifeq (0, $(shell test -d /usr/lib/$(OSARCH)-linux-gnu; echo $$?))
+POCO_ODBC_LIB = /usr/lib/$(OSARCH)-linux-gnu
+else ifeq (0, $(shell test -d /usr/lib64; echo $$?))
+POCO_ODBC_LIB = /usr/lib64
+else
+POCO_ODBC_LIB = /usr/lib
+endif
endif
ifeq ($(LINKMODE),STATIC)
@@ -16,19 +26,20 @@ else
LIBLINKEXT = $(SHAREDLIBLINKEXT)
endif
-SYSLIBS += -L$(POCO_ODBC_LIB_DIR)
+INCLUDE += -I$(POCO_ODBC_INCLUDE)
+SYSLIBS += -L$(POCO_ODBC_LIB)
-###########
-# MinGW #
-###########
+##
+## MinGW
+##
ifeq ($(POCO_CONFIG),MinGW)
# -DODBCVER=0x0300: SQLHandle declaration issue
# -DNOMINMAX : MIN/MAX macros defined in windows conflict with libstdc++
CXXFLAGS += -DODBCVER=0x0300 -DNOMINMAX
-###########
-# Cygwin #
-###########
+##
+## Cygwin
+##
else ifeq ($(POCO_CONFIG),CYGWIN)
# -DODBCVER=0x0300: SQLHandle declaration issue
# -DNOMINMAX : MIN/MAX macros defined in windows conflict with libstdc++
@@ -36,20 +47,20 @@ CXXFLAGS += -DODBCVER=0x0300 -DNOMINMAX
# CYGWIN platform has its own ODBC library in /lib/w32api
SYSLIBS += -L/lib/w32api -lodbc32 -lodbccp32
-############
-# unixODBC #
-############
-else ifeq (0, $(shell test -e $(POCO_ODBC_LIB_DIR)/libodbc$(LIBLINKEXT); echo $$?))
+##
+## unixODBC
+##
+else ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libodbc$(LIBLINKEXT); echo $$?))
SYSLIBS += -lodbc -lodbcinst
COMMONFLAGS += -DPOCO_UNIXODBC
-############
-# iODBC #
-############
-else ifeq (0, $(shell test -e $(POCO_ODBC_LIB_DIR)/libiodbc$(LIBLINKEXT); echo$$?))
+##
+## iODBC
+##
+else ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libiodbc$(LIBLINKEXT); echo $$?))
SYSLIBS += -liodbc -liodbcinst
-COMMONFLAGS += -DPOCO_IODBC
+COMMONFLAGS += -DPOCO_IODBC -I/usr/include/iodbc
else
-$(error No ODBC library found in $(POCO_ODBC_LIB_DIR). Please install unixODBC or iODBC and try again.)
+$(error No ODBC library found. Please install unixODBC or iODBC or specify POCO_ODBC_LIB and try again)
endif
diff --git a/PocoDoc/cfg/mkdocumentation.xml b/PocoDoc/cfg/mkdocumentation.xml
new file mode 100644
index 000000000..bfbc75207
--- /dev/null
+++ b/PocoDoc/cfg/mkdocumentation.xml
@@ -0,0 +1,106 @@
+
+
+
+
+ ${PocoBuild}/*/include/Poco/*.h
+ ${PocoBuild}/*/include/Poco/*/*.h
+ ${PocoBuild}/*/include/Poco/*/*/*.h
+ ${PocoBuild}/*/include/Poco/*/*.h
+ ${PocoBuild}/*/*/include/Poco/*/*/*.h
+
+
+ *_*.h,
+ expat*.h,
+ zconf.h,
+ zlib.h,
+ ${PocoBuild}/Util/include/Poco/Util/Units.h
+
+
+
+ ${PocoBuild}/doc/*.page,
+ ${PocoBuild}/*/doc/*.page
+ ${PocoBuild}/*/*/doc/*.page
+
+
+ ${PocoBase}/PocoDoc/resources/css,
+ ${PocoBase}/PocoDoc/resources/images,
+ ${PocoBase}/PocoDoc/resources/platform/index.html,
+ ${PocoBase}/PocoDoc/resources/platform/welcome.thtml,
+ ${PocoBase}/PocoDoc/resources/platform/images,
+ ${PocoBuild}/*/doc/images
+
+
+ g++
+
+ ${Includes},
+ -I/usr/local/mysql/include,
+ -D_DEBUG,
+ -E,
+ -C
+
+
+ true
+
+ EN
+ utf-8
+ Applied Informatics C++ Libraries and Tools
+ Applied Informatics Software Engineering GmbH and Contributors
+ http://www.appinf.com/
+ images/headerlogo.png
+
+
+
+ All Base Classes
+ All Symbols
+ Anonymous
+ Constructors
+ Class
+ Deprecated
+ Description
+ Destructor
+ Direct Base Classes
+ Enumerations
+ Functions
+
+ if and only if
+ Inheritance
+ Inherited Functions
+ is deprecated and should no longer be used
+ Known Derived Classes
+ Library
+ Member Functions
+ Member Summary
+ more...
+ Namespaces
+ Namespace
+ Nested Classes
+ Package
+ Packages
+ Package Index
+ See also
+ Struct
+ Symbol Index
+ This
+ Types
+ Variables
+ Contents
+ User Guides and Tutorials
+ Introduction
+
+
+
+
+
+
+ c1
+ warning
+
+
+
+
+ ConsoleChannel
+ %s: [%p] %t
+
+
+
+
diff --git a/VERSION b/VERSION
index dad53225d..3e1ad720b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.5.0d1 (2012-04-22)
+1.5.0
\ No newline at end of file
diff --git a/release/script/cpproj b/release/script/cpproj
index 672cf479a..2d167dc7a 100644
--- a/release/script/cpproj
+++ b/release/script/cpproj
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $Id: //poco/1.3/release/script/cpproj#2 $
+# $Id: //poco/1.4/release/script/cpproj#6 $
#
# cpproj
#
@@ -11,6 +11,7 @@
src=$1
dst=$2
+extradirs="doc templates res bundle sql"
if [ "$src" = "" ] ; then
echo "usage: $0