WIZARDS_DIR logic not ideal for dynamic wizard config

When I was building the LIRC SPK setup, I tried to use a wizard_dir in the WORK_DIR (instead of in src/) because my wizard file was updated based on the result of the files that exist after the cross dependency is compiled.

The order of logic checks for existence of files in the WIZARDS_DIR before the install target, and if it is empty at this point, the DSM_WIZARDS_DIR will not be included in the final SPK.

In this case, the wizard dir (not yet created in the WORK_DIR) did not exist, so was excluded in the SPK build, even though it was correctly populated before packaging.


WORKAROUND:
If a second make is executed without a clean, then the dir exists before the start of the process and is populated, so WILL be included in the final package.


These checks need to be done later in the process to cater for the wizard file not actually being available until after some/all targets are executed.


This should block #49 as the LIRC Makefile currently still modifies the wizard files outside of the arch work_dir.