diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 4 | ||||
-rw-r--r-- | src/src.pro | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e7ae7c9..98d8efd 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -727,9 +727,9 @@ MainWindow::about() { QMessageBox::about(this, tr("About"), trUtf8( "<p>\n" - "<b>Database Modeller</b><br />\n" + "<b>Database Modeller " VERSION "</b><br />\n" "<a href=\"http://oxygene.sk/lukas/dbmodel/\">http://oxygene.sk/lukas/dbmodel/</a><br />\n" - "Copyright (C) 2008 Lukas Lalinsky\n" + "Copyright (C) 2008-2009 Lukas Lalinsky\n" "</p>\n" )); } diff --git a/src/src.pro b/src/src.pro index 91cedb2..8e470e9 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,9 +1,13 @@ TARGET = dbmodel +VERSION = 0.1.0 + DESTDIR = ../ QT += xml svg CONFIG += debug +DEFINES += VERSION=\\\"$$VERSION\\\" + include(src.pri) include(diagram/diagram.pri) include(items/items.pri) @@ -15,3 +19,14 @@ MOC_DIR = $$PWD/.build OBJECTS_DIR = $$PWD/.build UI_DIR = $$PWD/.build RCC_DIR = $$PWD/.build + +unix { + isEmpty(PREFIX) { + PREFIX = /usr/local + } + + BINDIR = $$PREFIX/bin + + INSTALLS += target + target.path = $$BINDIR +} |