Define target type "data"
The target type "data" is much like "phony", however it uses files specified under -sources key to collect files to be installed in the data folder (usually /usr/share/<project-name>
). Consider qualifying the default-typed target that does have -sources, but does not have -command as "data".
Also, target of type "data" should do specific use of -depends option. From all targets that are residing in -depends key it should read the -output key to retrieve filenames that this target produces. All these files should be automatically added to -sources.