qstardict.pro 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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
  22. DOCS += \
  23. AUTHORS \
  24. COPYING \
  25. ChangeLog \
  26. THANKS
  27. DISTFILES += $$DOCS \
  28. INSTALL \
  29. README
  30. message("Enabled plugins: "$$ENABLED_PLUGINS)
  31. unix {
  32. isEmpty(NO_DBUS) {
  33. message("D-Bus support: enabled")
  34. } else {
  35. message("D-Bus support: disabled")
  36. }
  37. }
  38. isEmpty(NO_TRANSLATIONS) {
  39. message("Translations: enabled")
  40. } else {
  41. message("Translations: disabled")
  42. }
  43. message("Install prefix: "$$INSTALL_PREFIX)
  44. message("Binary directory: "$$BIN_DIR)
  45. message("Data directory: "$$DATA_DIR)
  46. isEmpty(NO_TRANSLATIONS):message("Translations directory: "$$TRANSLATIONS_DIR)
  47. message("Plugins directory: "$$PLUGINS_DIR)
  48. message("Documentation directory: "$$DOCS_DIR)
  49. win32 {
  50. isEmpty(GLIB2PATH) {
  51. error("No Glib2 library path (GLIB2PATH) is set.")
  52. } else {
  53. message("Glib2 location is set to $$GLIB2PATH")
  54. }
  55. isEmpty(ZLIBPATH) {
  56. error("No zlib library path (ZLIBPATH) is set.")
  57. } else {
  58. message("Zlib location is set to $$ZLIBPATH")
  59. }
  60. }
  61. docs.files = $$DOCS
  62. docs.path = $$DOCS_DIR
  63. INSTALLS += docs