OTHER: add system skin path to manpage
This commit is contained in:
parent
f7d2848f18
commit
43516c9431
3 changed files with 16 additions and 3 deletions
|
@ -13,8 +13,14 @@ XMMS/WinAMP classic.
|
|||
.I $XDG_CONFIG_HOME/xmms2/Promoe.conf
|
||||
The configuration file
|
||||
.TP
|
||||
.I @PROMOE_SKINDIR@
|
||||
Default system directory for XMMS skins. Skins that are added in this directory
|
||||
are available to all users on a system. This directory is set when the
|
||||
application is compiled.
|
||||
.TP
|
||||
.I $HOME/.config/xmms2/clients/promoe/skins
|
||||
Default directory for skins, can be changed in the configuration file
|
||||
Default directory for per user skins. This directory can be changed in the
|
||||
configuration file
|
||||
.SH ENVIRONMENT VARIABLES
|
||||
.TP
|
||||
.I XMMS_PATH
|
|
@ -36,7 +36,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
def set_options(opt):
|
||||
pass
|
||||
def configure(conf):
|
||||
pass
|
||||
conf.check_tool('misc')
|
||||
|
||||
|
||||
def build(bld):
|
||||
obj = bld.new_task_gen('qt4', 'cxx')
|
||||
obj.target = 'promoe_data'
|
||||
|
@ -44,6 +46,10 @@ def build(bld):
|
|||
obj.source = 'skins/Almond-blue.qrc'
|
||||
obj.uselib = 'QTCORE'
|
||||
|
||||
man = bld.new_task_gen('subst')
|
||||
man.source = 'promoe.1.in'
|
||||
man.install_path = '${MANDIR}/man1'
|
||||
|
||||
bld.install_files('${MANDIR}/man1', 'promoe.1')
|
||||
bld.install_files('${DATADIR}/applications', 'promoe.desktop')
|
||||
bld.install_files('${DATADIR}/icons', 'icons/ashton-flame1/promoe.svg')
|
||||
|
|
3
wscript
3
wscript
|
@ -63,7 +63,8 @@ def configure(conf):
|
|||
|
||||
conf.define('PROMOE_DATADIR', os.path.join(conf.env['DATADIR'], 'promoe'))
|
||||
conf.define('PROMOE_SKINDIR',
|
||||
os.path.join(conf.env['PROMOE_DATADIR'], 'Skins'))
|
||||
os.path.join(conf.env['PROMOE_DATADIR'], 'skins'))
|
||||
|
||||
|
||||
conf.sub_config('lib')
|
||||
conf.sub_config('data')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue