waf: fix creation of non-delatable directories

the */apps directories where created during install stage
this was problematic because they were created with root permissions
and were not deletable without root permissions
This commit is contained in:
Nedko Arnaudov 2010-09-13 22:02:37 +03:00
parent eccc6ad65b
commit b979c7e85b
1 changed files with 2 additions and 1 deletions

View File

@ -453,7 +453,8 @@ def build(bld):
# Icons
icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256']
for icon_size in icon_sizes:
bld.install_files('${PREFIX}/share/icons/hicolor/' + icon_size + '/apps/', 'art/' + icon_size + '/apps/gladish.png')
bld.path.ant_glob('art/' + icon_size + '/apps/*.png')
bld.install_files('${PREFIX}/share/icons/hicolor/' + icon_size + '/apps/', 'art/' + icon_size + '/apps/gladish.png')
status_images = []
for status in ["down", "unloaded", "started", "stopped", "warning", "error"]: