Revision: 2090 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2090&view=re... Author: eht16 Date: 2011-05-29 18:27:00 +0000 (Sun, 29 May 2011)
Log Message: ----------- install GProject icons with Waf
Modified Paths: -------------- trunk/geany-plugins/gproject/wscript_build
Modified: trunk/geany-plugins/gproject/wscript_build =================================================================== --- trunk/geany-plugins/gproject/wscript_build 2011-05-29 17:58:23 UTC (rev 2089) +++ trunk/geany-plugins/gproject/wscript_build 2011-05-29 18:27:00 UTC (rev 2090) @@ -20,10 +20,19 @@ # # $Id$
-from build.wafutils import build_plugin +from build.wafutils import build_plugin, target_is_win32
name = 'GProject' includes = ['gproject/src']
build_plugin(bld, name, includes=includes) + +# Icons +if target_is_win32(bld): + icon_dest = '${GEANYPLUGINS_DATADIR}/icons' +else: + icon_dest = '${GEANYPLUGINS_DATADIR}/icons/hicolor/16x16/apps' + +start_dir = bld.path.find_dir('icons') +bld.install_files(icon_dest, start_dir.ant_glob('*.png'), cwd=start_dir)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.