diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2009-02-22 12:38:51 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2009-02-22 12:38:51 +0100 |
commit | da4daa6255bec2694bb7936bbe67cd5e19f0c5ef (patch) | |
tree | d53d510135f25876f8de4d692a78f3947595cf8c /src | |
parent | 53cb3f96c7de59694767156b309e1962a3d49471 (diff) | |
download | dbmodel-da4daa6255bec2694bb7936bbe67cd5e19f0c5ef.tar.xz |
Changes for 0.1.0 release
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 +} |