Changeset 97 in tspsg-svn for trunk/tspsg.pro
- Timestamp:
- Mar 3, 2010, 12:55:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tspsg.pro
r96 r97 40 40 } else:unix { 41 41 PRL = $$[QT_INSTALL_LIBS] QtCore.prl 42 } else { 43 PRL = $$[QT_INSTALL_LIBS] QtCore.prl 42 44 } 43 45 include($$join(PRL, "/")) … … 67 69 # Installation and deployment 68 70 # Common rules 71 l10n.files = l10n/*.qm 69 72 #share.files = 70 l10n.files = l10n/*.qm71 73 docs.files = COPYING README 72 74 INSTALLS += target l10n share docs … … 74 76 # For *nix: 75 77 # - executable goes to /usr/bin 76 # - COPYING and README go to /usr/share/ tspsg77 # - translations go to /usr/share/ tspsg/l10n78 # - docs (none, yet) go to /usr/share/doc/tspsg78 # - COPYING and README go to /usr/share/TSPSG 79 # - translations go to /usr/share/TSPSG/l10n 80 # - docs go to /usr/share/doc/TSPSG-x.x.x 79 81 unix:!symbian { 80 82 PREFIX = /usr 81 83 CONFIG(release, debug|release) { 82 DEFINES += PATH_L10N=\\\"$$PREFIX/share/ tspsg/l10n\\\"83 DEFINES += PATH_DOCS=\\\"$$PREFIX/share/ tspsg/docs\\\"84 DEFINES += PATH_L10N=\\\"$$PREFIX/share/TSPSG/l10n\\\" 85 DEFINES += PATH_DOCS=\\\"$$PREFIX/share/TSPSG/docs\\\" 84 86 } 85 87 86 88 target.path = $$PREFIX/bin 87 share.path = $$PREFIX/share/ tspsg88 l10n.path = $$PREFIX/share/ tspsg/l10n89 docs.path = $$PREFIX/share/doc/ tspsg-$$VERSION89 share.path = $$PREFIX/share/TSPSG 90 l10n.path = $$PREFIX/share/TSPSG/l10n 91 docs.path = $$PREFIX/share/doc/TSPSG-$$VERSION 90 92 apps.path = $$PREFIX/share/applications/ 91 93 apps.files = resources/tspsg.desktop … … 97 99 # TODO: MacOSX 98 100 99 # For win32: everything goes to "C:\Program Files\ tspsg" and subfolders.101 # For win32: everything goes to "C:\Program Files\TSPSG" and subfolders. 100 102 win32 { 101 103 PREFIX = "C:\Program Files" 104 105 CONFIG(release, debug|release) { 106 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvg4.dll \ 107 $$[QT_INSTALL_PLUGINS]/imageformats/qjpeg4.dll 108 } else { 109 imageformats.files = $$[QT_INSTALL_PLUGINS]/imageformats/qsvgd4.dll \ 110 $$[QT_INSTALL_PLUGINS]/imageformats/qjpegd4.dll 111 } 112 imageformats.path = $$PREFIX/TSPSG/imageformats 113 INSTALLS += imageformats 102 114 } 103 115 104 # For wince: we are deploying to \ Storage Card\Program Files\tspsg.116 # For wince: we are deploying to \Program Files\TSPSG. 105 117 wince { 106 PREFIX = "\ Storage Card\Program Files"118 PREFIX = "\Program Files" 107 119 DEPLOYMENT += target share l10n docs 120 DEPLOYMENT_PLUGIN += qjpeg qsvg 108 121 } 109 122 110 123 # win32 and wince common 111 124 win* { 112 target.path = "$$PREFIX\tspsg"113 share.path = "$$PREFIX\tspsg"114 l10n.path = "$$PREFIX\tspsg\l10n"115 docs.path = "$$PREFIX\tspsg"125 target.path = $$PREFIX/TSPSG 126 share.path = $$PREFIX/TSPSG 127 l10n.path = $$PREFIX/TSPSG/l10n 128 docs.path = $$PREFIX/TSPSG 116 129 117 130 RC_FILE = resources/tspsg.rc … … 125 138 "\"COPYING\" - \"\", FILETEXT, TEXTEXIT" 126 139 DEPLOYMENT += share l10n docs 140 DEPLOYMENT_PLUGIN += qjpeg qsvg 127 141 128 142 ICON = resources/tspsg.svg
Note: See TracChangeset
for help on using the changeset viewer.