libglib2: improve dev file handling
commit1f1f16e9e5367048faa1cf17237e0c0d422e98d6
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 10 Mar 2016 14:52:36 +0000 (10 11:52 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Mar 2016 21:13:35 +0000 (20 22:13 +0100)
treea892d741e4a1230757b8afada14884a200dd55c0
parent65eec9081e95ce8936f855e1a1e2fae03d0a305e
libglib2: improve dev file handling

Remove source schema files from target
(/usr/share/glib-2.0/schemas/*.dtd and *.xml) at target finalization
time.
This is because other packages install schemas as well to avoid
duplicating file removal efforts all around.

Add a schema compiler run on target finalization as well - we previously
didn't do this since not many packages use it, however the upcoming
connman-gtk package does require a valid gschemas.compiled to work
properly.
We also do this at target finalization to avoid each package handling
this on their own.

Purge some extra binaries and files from the target, like the schema
compiler to save additional space since they're unused at run time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libglib2/libglib2.mk