Debian Codegraph @

qbrew.pro

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