Debian Codegraph @

qbrew.pro

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