Debian Codegraph @

qbrew.pro

raw ◀ ▶
Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1
2 # Copyright 2007-2008 David Johnson
3 # This project file is free software; the author gives unlimited
4 # permission to copy, distribute and modify it.
5
6 TARGET = qbrew
7 TEMPLATE = app
8 CONFIG += qt warn_on
9
10 MOC_DIR = build
11 OBJECTS_DIR = build
12 RCC_DIR = build
13 UI_DIR = build
14
15 INCLUDEPATH += src
16 VPATH = src
17
18 QMAKE_DISTCLEAN = config.log
19
20 win32 {
21 RC_FILE = win\icon.rc
22 CONFIG -= console
23
24 target.path = release
25
26 trans.path = translations
27 trans.files = translations/*.qm
28
29 data.path = release
30 data.files = data/* pics/splash.png win/qbrew.ico README LICENSE
31
32 doc.path = release/doc
33 doc.files = docs/book/*.html docs/primer/*.html
34
35 INSTALLS += target trans data doc
36 }
37
38 macx {
39 CONFIG += x86 ppc
40 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
41 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
42
43 DEFINES += HAVE_ROUND
44 LIBS += -dead-strip
45 QMAKE_POST_LINK=strip qbrew.app/Contents/MacOS/qbrew
46
47 # install into app bundle
48 trans.path = qbrew.app/Contents/Resources/translations
49 trans.files = translations/*.qm
50
51 data.path = qbrew.app/Contents/Resources
52 data.files = data/* pics/splash.png mac/application.icns mac/document.icns
53
54 doc.path = qbrew.app/Contents/Resources/en.lproj
55 doc.files = docs/book/*.html docs/primer/*.html
56
57 misc.path = qbrew.app/Contents
58 misc.files = mac/Info.plist mac/PkgInfo
59
60 INSTALLS += trans data doc misc
61 }
62
63 unix:!macx {
64 configure {
65 DEFINES += $$(HAVEDEFS)
66 target.path = $$(BINDIR)
67 trans.path = $$(DATADIR)/translations
68 data.path = $$(DATADIR)
69 doc.path = $$(DOCDIR)
70 } else {
71 target.path = /usr/local/bin
72 trans.path = /usr/local/share/qbrew/translations
73 data.path = /usr/local/share/qbrew
74 doc.path = /usr/local/share/doc/qbrew
75 }
76
77 trans.files = translations/*.qm
78 data.files = data/* pics/splash.png
79 # The handbook and the primer are installed in a different
80 # location. The files README and LICENSE are copied by the
81 # dh_installdocs script
82 #doc.files = docs/book/*.html docs/primer/*.html README LICENSE
83 #INSTALLS += target trans data doc
84 INSTALLS += target trans data
85 }
86
87 RESOURCES = qbrew.qrc
88
89 HEADERS = alcoholtool.h \
90 beerxmlreader.h \
91 configstate.h \
92 configure.h \
93 data.h \
94 databasetool.h \
95 datareader.h \
96 grain.h \
97 graindelegate.h \
98 grainmodel.h \
99 helpviewer.h \
100 hop.h \
101 hopdelegate.h \
102 hopmodel.h \
103 hydrometertool.h \
104 ingredientview.h \
105 misc.h \
106 miscdelegate.h \
107 miscmodel.h \
108 notepage.h \
109 qbrew.h \
110 quantity.h \
111 recipe.h \
112 recipereader.h \
113 resource.h \
114 style.h \
115 styledelegate.h \
116 stylemodel.h \
117 textprinter.h \
118 view.h
119
120 SOURCES = alcoholtool.cpp \
121 beerxmlreader.cpp \
122 configure.cpp \
123 data.cpp \
124 databasetool.cpp \
125 datareader.cpp \
126 export.cpp \
127 grain.cpp \
128 graindelegate.cpp \
129 grainmodel.cpp \
130 helpviewer.cpp \
131 hop.cpp \
132 hopdelegate.cpp \
133 hopmodel.cpp \
134 hydrometertool.cpp \
135 ingredientview.cpp \
136 main.cpp \
137 misc.cpp \
138 miscdelegate.cpp \
139 miscmodel.cpp \
140 notepage.cpp \
141 qbrew.cpp \
142 quantity.cpp \
143 recipe.cpp \
144 recipereader.cpp \
145 style.cpp \
146 styledelegate.cpp \
147 stylemodel.cpp \
148 textprinter.cpp \
149 view.cpp
150
151 FORMS = alcoholtool.ui \
152 calcconfig.ui \
153 databasetool.ui \
154 generalconfig.ui \
155 helpviewer.ui \
156 hydrometertool.ui \
157 ingredientpage.ui \
158 mainwindow.ui \
159 noteview.ui \
160 recipeconfig.ui \
161 view.ui
162
163 TRANSLATIONS = translations/qbrew_de.ts