[PATCH] Remove generated config.h file.

Jaak Ristioja ristioja at gmail.com
Fri Apr 17 15:49:36 MST 2009


---
 CMakeLists.txt                              |    2 +-
 src/bibletime.cpp                           |    1 -
 src/bibletime_init.cpp                      |    1 -
 src/bibletime_slots.cpp                     |    1 -
 src/frontend/htmldialogs/btaboutdialog.cpp  |    1 -
 src/frontend/searchdialog/csearchdialog.cpp |    1 -
 src/main.cpp                                |    1 -
 src/util/migrationutil.cpp                  |    1 -
 8 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3905215..ab0aa61 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT(bibletime CXX C)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
 
 #Version
-SET(BT_VERSION "2.0.alpha2")
+add_definitions(-DBT_VERSION=\\\"2.0.alpha2\\\")
 
 #Non-English locales to be processed and installed for UI, handbook and howto
 LIST(APPEND MESSAGE_LOCALE_LANGS af bg cs da de en_GB es et fi fr hu it ko nl nn_NO no pl pt_br ro ru sk sv ua vi zh_CN zh_TW)
diff --git a/src/bibletime.cpp b/src/bibletime.cpp
index 3b0368d..f48bfda 100644
--- a/src/bibletime.cpp
+++ b/src/bibletime.cpp
@@ -6,7 +6,6 @@
 * The BibleTime source code is licensed under the GNU General Public License version 2.0.
 *
 **********/
-#include "config.h"
 #include "bibletime.h"
 #include "bibletime.moc"
 
diff --git a/src/bibletime_init.cpp b/src/bibletime_init.cpp
index fb466b2..5effe7e 100644
--- a/src/bibletime_init.cpp
+++ b/src/bibletime_init.cpp
@@ -9,7 +9,6 @@
 
 //BibleTime includes
 #include "bibletime.h"
-#include "config.h"
 #include "util/cpointers.h"
 #include "util/cresmgr.h"
 #include "util/directoryutil.h"
diff --git a/src/bibletime_slots.cpp b/src/bibletime_slots.cpp
index 6fcdf93..3e054af 100644
--- a/src/bibletime_slots.cpp
+++ b/src/bibletime_slots.cpp
@@ -9,7 +9,6 @@
 
 //own includes
 #include "bibletime.h"
-#include "config.h"
 
 #include "backend/keys/cswordversekey.h"
 
diff --git a/src/frontend/htmldialogs/btaboutdialog.cpp b/src/frontend/htmldialogs/btaboutdialog.cpp
index 1cf0a83..b29e508 100644
--- a/src/frontend/htmldialogs/btaboutdialog.cpp
+++ b/src/frontend/htmldialogs/btaboutdialog.cpp
@@ -10,7 +10,6 @@
 #include "btaboutdialog.h"
 #include "btaboutdialog.moc"
 
-#include "config.h"
 #include "util/directoryutil.h"
 
 #include "swversion.h"
diff --git a/src/frontend/searchdialog/csearchdialog.cpp b/src/frontend/searchdialog/csearchdialog.cpp
index 0a78ebe..4e544d0 100644
--- a/src/frontend/searchdialog/csearchdialog.cpp
+++ b/src/frontend/searchdialog/csearchdialog.cpp
@@ -6,7 +6,6 @@
 * The BibleTime source code is licensed under the GNU General Public License version 2.0.
 *
 **********/
-#include "config.h"
 #include "csearchdialog.h"
 #include "csearchdialog.moc"
 #include "btsearchoptionsarea.h"
diff --git a/src/main.cpp b/src/main.cpp
index 325a14c..d946c1e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,7 +10,6 @@
 //own includes
 #include "bibletimeapp.h"
 #include "bibletime.h"
-#include "config.h"
 #include "bibletime_dbus_adaptor.h"
 
 #include "util/cresmgr.h"
diff --git a/src/util/migrationutil.cpp b/src/util/migrationutil.cpp
index 2d08068..072b750 100644
--- a/src/util/migrationutil.cpp
+++ b/src/util/migrationutil.cpp
@@ -8,7 +8,6 @@
 **********/
 
 #include "migrationutil.h"
-#include "config.h"
 #include "directoryutil.h"
 #include "backend/config/cbtconfig.h"
 
-- 
1.6.0.6


--------------060004020608070000040807
Content-Type: text/plain;
 name="0012-Remove-QT4_AUTOMOC-in-favor-of-QT4_WRAP_CPP.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0012-Remove-QT4_AUTOMOC-in-favor-of-QT4_WRAP_CPP.patch"



More information about the bt-devel mailing list