GSoC: MAKEFILE: Fix builds when no engine-data is used
|Reported by:||SF/dxq||Owned by:||sev-|
Currently, several platforms will fail in the final steps of a build if you have opted not to build any engines that require engine data. This is due to lines similar to the following in ports.mk:
cp $(DIST_FILES_ENGINEDATA) $(bundle_name)/Contents/Resources/
Where $DIST_FILES_ENGINEDATA is empty, causing cp to fail (it's only being provided with one argument).
My patch simply adds an ifdef $(DIST_FILES_ENGINEDATA) before the suspect lines.
As far as I can tell, DIST_FILES_ENGINEDATA is the only value that can be left undefined by the configure process that causes this issue.
This patch is against the most current trunk as of writing, r48650.
Ticket imported from: #2986300. Ticket imported from: patches/1270.
Change History (5)
comment:1 by , 11 years ago
|Summary:||MAKEFILE: Fix builds when no engine-data is used → GSoC: MAKEFILE: Fix builds when no engine-data is used|