Russian translation. Gui fix.
[qstardict] / qstardict.pro
1 #############################################################################
2 # qstardict.pro - QStarDict, a StarDict clone written with using Qt         #
3 # Copyright (C) 2008 Alexander Rodin                                        #
4 #                                                                           #
5 # This program is free software; you can redistribute it and/or modify      #
6 # it under the terms of the GNU General Public License as published by      #
7 # the Free Software Foundation; either version 2 of the License, or         #
8 # (at your option) any later version.                                       #
9 #                                                                           #
10 # This program is distributed in the hope that it will be useful,           #
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of            #
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             #
13 # GNU General Public License for more details.                              #
14 #                                                                           #
15 # You should have received a copy of the GNU General Public License along   #
16 # with this program; if not, write to the Free Software Foundation, Inc.,   #
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.               #
18 #############################################################################
19
20 TEMPLATE = subdirs
21 include(qstardict.pri)
22 SUBDIRS = qstardict plugins
23
24 DOCS += \
25     AUTHORS \
26     COPYING \
27     ChangeLog \
28     THANKS
29 DISTFILES += $$DOCS \
30     INSTALL \
31     README
32
33 message("Enabled plugins: "$$ENABLED_PLUGINS)
34 unix {
35     isEmpty(NO_DBUS) {
36         message("D-Bus support: enabled")
37     } else {
38         message("D-Bus support: disabled")
39     }
40 }
41 isEmpty(NO_TRANSLATIONS) {
42     message("Translations: enabled")
43 } else {
44     message("Translations: disabled")
45 }
46 message("Install prefix: "$$INSTALL_PREFIX)
47 message("Binary directory: "$$BIN_DIR)
48 message("Data directory: "$$DATA_DIR)
49 isEmpty(NO_TRANSLATIONS):message("Translations directory: "$$TRANSLATIONS_DIR)
50 message("Plugins directory: "$$PLUGINS_DIR)
51 message("Documentation directory: "$$DOCS_DIR)
52
53 win32 {
54     isEmpty(GLIB2PATH) {
55         error("No Glib2 library path (GLIB2PATH) is set.")
56         } else {
57         message("Glib2 location is set to $$GLIB2PATH")
58         }
59     isEmpty(ZLIBPATH) {
60         error("No zlib library path (ZLIBPATH) is set.")
61         } else {
62         message("Zlib location is set to $$ZLIBPATH")
63         }
64 }
65
66 docs.files = $$DOCS
67 docs.path = $$DOCS_DIR
68 INSTALLS += docs
69