While packaging Oolite for Debian I found that the file Info-Oolite.plist was missing from the Oolite package. The application (IIRC) refused to compile without this file, so I took it by hand from the -data package and placed it in the binary package.
I know that, actually the file in question is mere data, but it seems logical (IMHO) to have that file in the oolite tarball since it is needed during the compilation.
Thus I ask for it to be placed in the oolite binary packge.
Also, in order to have the package compiled properly, I had to create a cuple of directories in the root (Contents and Resources).
Here are the rules that fix the issues for the Debian package.
Code: Select all
patch:
mkdir -p Contents Resources
cp debian/patches/Info-Oolite.plist Resources/
unpatch:
set -e ; if [ -e Resources/Info-Oolite.plist ]; then \
rm Resources/Info-Oolite.plist ; \
fi
set -e ; if [ -d Resources ]; then \
rmdir Resources ; \
fi
set -e ; if [ -d Contents ]; then \
rmdir Contents ; \
fi
Probably it would be better to have these directories created "out of the box" so that the package is cleaner.
Please excuse my ignorance if I missed something and this is actualy not a problem.