qstardict.pro 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. TEMPLATE = subdirs
  20. include(qstardict.pri)
  21. SUBDIRS = qstardict plugins translations
  22. DOCS += \
  23. AUTHORS \
  24. COPYING \
  25. ChangeLog \
  26. THANKS \
  27. docs/en_GB \
  28. docs/ru_RU
  29. MAN += qstardict.1
  30. DISTFILES += $$DOCS \
  31. INSTALL \
  32. README
  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. isEmpty(NO_TRAY_ICON): {
  47. message("Tray icon: enabled")
  48. } else {
  49. message("Tray icon: disabled")
  50. }
  51. message("Install prefix: "$$INSTALL_PREFIX)
  52. message("Binary directory: "$$BIN_DIR)
  53. message("Data directory: "$$DATA_DIR)
  54. isEmpty(NO_TRANSLATIONS):message("Translations directory: "$$TRANSLATIONS_DIR)
  55. message("Plugins directory: "$$PLUGINS_DIR)
  56. message("Documentation directory: "$$DOCS_DIR)
  57. win32 {
  58. isEmpty(GLIB2PATH) {
  59. error("No Glib2 library path (GLIB2PATH) is set.")
  60. } else {
  61. message("Glib2 location is set to $$GLIB2PATH")
  62. }
  63. isEmpty(ZLIBPATH) {
  64. error("No zlib library path (ZLIBPATH) is set.")
  65. } else {
  66. message("Zlib location is set to $$ZLIBPATH")
  67. }
  68. }
  69. docs.files = $$DOCS
  70. docs.path = $$DOCS_DIR
  71. man.files = $$MAN
  72. man.path = $$MAN_DIR
  73. INSTALLS += docs man
  74. isEmpty(NO_TRANSLATIONS):include(translations/translations.pri)