Initial commit to git repository
[liteman.git] / liteman.pro
blob5a96be1dccf051346ea9e618c40ac76dc48564ad
2 # The top-level QMAKE project file for LiteMan
6 # Settings
8 VERSION = 0.2
9 TEMPLATE = app
10 CONFIG += qt thread release
11 QT += sql
13 DEPENDPATH += src
15 MOC_DIR = build
16 OBJECTS_DIR = build
19 # Output Files
21 TARGET = liteman
24 # Input Files
26 HEADERS += database.h dataviewer.h \
27 litemanwindow.h tableeditordialog.h \
28 tabletree.h queryeditordialog.h termeditor.h
29 SOURCES += database.cpp dataviewer.cpp \
30 litemanwindow.cpp main.cpp \
31 tableeditordialog.cpp tabletree.cpp \
32 queryeditordialog.cpp
35 # Distrobution Files
37 PREFIX = /usr/local
38 DISTFILES = Doxyfile README INSTALL COPYING NEWS AUTHORS
40 binary.path = $${PREFIX}/bin/
41 binary.files = $$TARGET
43 docs.path = $${PREFIX}/share/doc/liteman
44 docs.files = README COPYING NEWS AUTHORS
46 INSTALLS += binary docs
49 # My dist target
51 unix {
52 TEMPPLACE = build/liteman-$${VERSION}
54 mdist.target = mdist
55 mdist.commands = mkdir $${TEMPPLACE}/ && mkdir $${TEMPPLACE}/{doc,src} && \
56 cp -f $${DISTFILES} liteman.pro $${TEMPPLACE}/ && \
57 cp -f src/* $${TEMPPLACE}/src/ && cd $${TEMPPLACE}/../ &&\
58 tar -czf ../liteman-$${VERSION}.tar.gz liteman-$${VERSION}/ && \
59 cd .. && rm -rf $${TEMPPLACE}/
61 QMAKE_EXTRA_TARGETS += mdist