Improve Installation section of build instructions

This commit is contained in:
Emil Lundberg 2018-01-24 17:33:49 +01:00
parent 7965fb444d
commit 402127cd77
No known key found for this signature in database
GPG Key ID: 5B9688125FF0B636

View File

@ -52,16 +52,25 @@ With these installed, you can just run the program:
$ ./yubioath-desktop
=== Packaging
=== Installation and packaging
The files you need to include in a distribution package are:
The files you need to install in your system, or include in a distribution
package, are:
- The `yubioath-desktop` binary
- The `yubioath-desktop` binary, installed somewhere on the `$PATH`
- The icon `resources/icons/yubioath.png`, installed as `yubioath.png` somewhere
on the
https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout[Freedesktop]
or
https://doc.qt.io/qt-5/appicon.html#setting-the-application-icon-on-common-linux-desktops[Qt]
icons search path, for example as `/usr/share/pixmaps/yubioath.png`
icons search path
- (Optional) The Desktop Application descriptor
`resources/yubioath-desktop.desktop`
`resources/yubioath-desktop.desktop`, installed somewhere on the
https://standards.freedesktop.org/menu-spec/latest/ar01s02.html[Freedesktop
applications search path]
For example, these installation paths are likely to work:
- `/usr/bin/yubioath-desktop`
- `/usr/share/applications/yubioath-desktop.desktop`
- `/usr/share/pixmaps/yubioath.png`