meson: add an `install-icons` meson target.

We want to be able to install icons only in a quick command when
testing/developing.
Also I realize that Legacy icons are not even installed with meson
build, which is bad! Even though legacy, we want to keep them (at least
for the time being), just as we do with autotools.
This commit is contained in:
Jehan 2019-10-12 13:25:31 +02:00
parent 16d9c1f00d
commit fca64f5f66
1 changed files with 7 additions and 6 deletions

View File

@ -1618,14 +1618,15 @@ pkgconfig.generate(libgimpui,
# Subdir installations
foreach dir : [
{ 'dir': 'libgimp', 'deps': libgimp},
{ 'dir': 'libgimpbase', 'deps': libgimpbase},
{ 'dir': 'libgimp', 'deps': libgimp},
{ 'dir': 'libgimpbase', 'deps': libgimpbase},
{ 'dir': 'libgimpcolor', 'deps': libgimpcolor},
{ 'dir': 'libgimpconfig', 'deps': libgimpconfig},
{ 'dir': 'libgimpmath', 'deps': libgimpmath},
{ 'dir': 'libgimpmodule', 'deps': libgimpmodule},
{ 'dir': 'libgimpconfig', 'deps': libgimpconfig},
{ 'dir': 'libgimpmath', 'deps': libgimpmath},
{ 'dir': 'libgimpmodule', 'deps': libgimpmodule},
{ 'dir': 'libgimpthumb', 'deps': libgimpthumb},
{ 'dir': 'libgimpwidgets', 'deps': libgimpwidgets},
{ 'dir': 'libgimpwidgets', 'deps': libgimpwidgets},
{ 'dir': 'icons' },
{ 'dir': 'plug-ins', },
]
run_target('install-' + dir.get('dir'),