File: qstardict.pro

package info (click to toggle)
qstardict 1.3-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,784 kB
  • sloc: cpp: 9,590; makefile: 10; sh: 10
file content (71 lines) | stat: -rw-r--r-- 2,622 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#############################################################################
# qstardict.pro - QStarDict, a StarDict clone written with using Qt         #
# Copyright (C) 2008 Alexander Rodin                                        #
#                                                                           #
# This program is free software; you can redistribute it and/or modify      #
# it under the terms of the GNU General Public License as published by      #
# the Free Software Foundation; either version 2 of the License, or         #
# (at your option) any later version.                                       #
#                                                                           #
# This program is distributed in the hope that it will be useful,           #
# but WITHOUT ANY WARRANTY; without even the implied warranty of            #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             #
# GNU General Public License for more details.                              #
#                                                                           #
# You should have received a copy of the GNU General Public License along   #
# with this program; if not, write to the Free Software Foundation, Inc.,   #
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.               #
#############################################################################

TEMPLATE = subdirs
include(qstardict.pri)
SUBDIRS = qstardict plugins

DOCS += \
    AUTHORS \
    COPYING \
    ChangeLog \
    THANKS
MAN += qstardict.1
DISTFILES += $$DOCS \
    INSTALL \
    README

message("Enabled plugins: "$$ENABLED_PLUGINS)
unix {
    isEmpty(NO_DBUS) {
        message("D-Bus support: enabled")
    } else {
        message("D-Bus support: disabled")
    }
}
isEmpty(NO_TRANSLATIONS) {
    message("Translations: enabled")
} else {
    message("Translations: disabled")
}
message("Install prefix: "$$INSTALL_PREFIX)
message("Binary directory: "$$BIN_DIR)
message("Data directory: "$$DATA_DIR)
isEmpty(NO_TRANSLATIONS):message("Translations directory: "$$TRANSLATIONS_DIR)
message("Plugins directory: "$$PLUGINS_DIR)
message("Documentation directory: "$$DOCS_DIR)

win32 {
    isEmpty(GLIB2PATH) {
        error("No Glib2 library path (GLIB2PATH) is set.")
    } else {
        message("Glib2 location is set to $$GLIB2PATH")
    }
    isEmpty(ZLIBPATH) {
        error("No zlib library path (ZLIBPATH) is set.")
    } else {
        message("Zlib location is set to $$ZLIBPATH")
    }
}

docs.files = $$DOCS
docs.path = $$DOCS_DIR
man.files = $$MAN
man.path = $$MAN_DIR
INSTALLS += docs man