0afe2e392d63294d9a699b866156ae98885c5aaa
[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        +=
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 -S -r -us -uc -d
30 debian-src.commands = dpkg-buildpackage -sa -S
31 debian-bin.commands = dpkg-buildpackage -b -r -uc -d
32 debian-all.depends = debian-src debian-bin
33
34 #
35 # Clean all but Makefile
36 #
37 compiler_clean.commands = -$(DEL_FILE) $(TARGET)
38
39 QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin install compiler_clean
40
41
42 unix {
43   PREFIX = debian/grr
44   BINDIR = $$PREFIX/opt/grr
45   DATADIR = $$PREFIX/usr/share
46     
47   DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"
48       
49   INSTALLS += target desktop icon64 
50           
51   target.path = $$BINDIR
52               
53   desktop.path = $$DATADIR/applications/hildon
54   desktop.files += grr.desktop
55                      
56   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
57   icon64.files += grr.png
58 }