Updated changelog
[grr] / grr.pro
1 TARGET      = grr
2 HEADERS     += googlereader.h feedswindow.h entrieswindow.h contentwindow.h
3 SOURCES     += qtmain.cpp googlereader.cpp feedswindow.cpp entrieswindow.cpp contentwindow.cpp
4 RESOURCES   += grr.qrc
5 FORMS       += 
6 LEXSOURCES  += #LEXS#
7 YACCSOURCES += #YACCS#
8
9 INCLUDEPATH +=
10 LIBS        += -lqjson
11 DEFINES     +=
12
13 # All generated files goes same directory
14 OBJECTS_DIR = build
15 MOC_DIR     = build
16 UI_DIR      = build
17
18 DESTDIR     = build
19 TEMPLATE    = app
20 DEPENDPATH  +=
21 VPATH       += src
22 CONFIG      -= 
23 CONFIG      += debug
24 QT          = core gui network xml webkit maemo5
25
26 #
27 # Targets for debian source and binary package creation
28 #
29 debian-src.commands = dpkg-buildpackage -rfakeroot -sa -S
30 debian-bin.commands = dpkg-buildpackage -b -rfakeroot -uc -d
31 debian-all.depends = debian-src debian-bin
32
33 #
34 # Clean all but Makefile
35 #
36 compiler_clean.commands = -$(DEL_FILE) $(TARGET)
37
38 QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin install compiler_clean
39
40
41 unix {
42   PREFIX = debian/grr
43   BINDIR = $$PREFIX/opt/grr
44   DATADIR = $$PREFIX/usr/share
45     
46   DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"
47       
48   INSTALLS += target desktop icon64 
49           
50   target.path = $$BINDIR
51               
52   desktop.path = $$DATADIR/applications/hildon
53   desktop.files += grr.desktop
54                      
55   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
56   icon64.files += grr.png
57 }