diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-10-06 18:41:37 -0700 |
---|---|---|
committer | Thiago Macieira <thiago@macieira.org> | 2013-10-08 23:29:43 -0700 |
commit | 9e069371c6ee3e2866296c43e15a2bfdd9064804 (patch) | |
tree | 963a34dbc3bd7803ca55960bc63a961bef07468e /subsurface.pro | |
parent | 1e7db5f77f01a0f091969c036b007165af35a509 (diff) | |
download | subsurface-9e069371c6ee3e2866296c43e15a2bfdd9064804.tar.gz |
Add qmake rules to install Subsurface
This is probably the most complex part of the new buildsystem. This
adds the following targets:
- Linux:
make install - installs to $(prefix) (default: /usr)
The install path can be changed during make install time.
- Windows:
make install - installs Subsurface and its dependencies to
packaging/windows.
- Mac:
make mac-deploy - populates Subsurface.app with the dependencies
make install - mac-deploy + install Subsurface.app to /Application
make mac-create-dmg - mac-deploy + creates Subsurface-$VERSION.dmg
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro index 8a4996385..f3c0d12ca 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -126,4 +126,14 @@ doc.commands += $$escape_expand(\\n\\t)$(MAKE) -C $$PWD/Documentation OUT=$$OUT_ all.depends += doc QMAKE_EXTRA_TARGETS += doc all +DESKTOP_FILE = subsurface.desktop +ICON = subsurface-icon.svg +MANPAGE = subsurface.1 +XSLT_FILES = xslt/*.xslt xslt/*.xsl +DOC_FILES = $$OUT_PWD/Documentation/user-manual.html Documentation/images +MARBLEDIR = marbledata/maps + +OTHER_FILES += $$DESKTOPFILE $$ICON $$MANPAGE $$XSLT_FILES $$DOC_FILES $$MARBLEDIR + include(subsurface-gen-version.pri) +include(subsurface-install.pri) |