Skip to content
Snippets Groups Projects
Commit b51b934b authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Fixed installation with wscript

parent a2cffedf
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,6 @@ def configure(conf): ...@@ -48,7 +48,6 @@ def configure(conf):
conf.env.DEFINES = ['DEBUG(x)=std::cout<< x <<std::endl;'] conf.env.DEFINES = ['DEBUG(x)=std::cout<< x <<std::endl;']
def build(bld): def build(bld):
installPath = '/usr/local/bin'
macApp = False macApp = False
if sys.platform == 'darwin': if sys.platform == 'darwin':
...@@ -77,14 +76,15 @@ def build(bld): ...@@ -77,14 +76,15 @@ def build(bld):
use = ['OS', 'GL', 'winsman', 'oscpack'], use = ['OS', 'GL', 'winsman', 'oscpack'],
target = 'controllar'+bld.variant, target = 'controllar'+bld.variant,
vnum = '0.0.1', vnum = '0.0.1',
install_path = installPath,
mac_app = macApp, mac_app = macApp,
mac_plist = 'data/Info.plist', mac_plist = 'data/Info.plist',
mac_resources = 'data/controllar.icns', mac_resources = 'data/controllar.icns',
) )
def install(bld): bld.install_files('${PREFIX}/share/applications',
bld.install('${PREFIX}/bin', 'controllar') ['data/controllar.desktop'])
bld.install_files('${PREFIX}/share/icons',
['data/controllar.png'])
from waflib.Build import BuildContext, CleanContext from waflib.Build import BuildContext, CleanContext
class debug(BuildContext): class debug(BuildContext):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment