Add PACKAGING_COPY_ENGINE_FILES to mod.config.
This commit is contained in:
parent
39815828aa
commit
20c6c64c36
@ -86,6 +86,10 @@ PACKAGING_WINDOWS_REGISTRY_KEY="OpenRAExampleMod"
|
|||||||
# The git tag to use for the AppImage dependencies.
|
# The git tag to use for the AppImage dependencies.
|
||||||
PACKAGING_APPIMAGE_DEPENDENCIES_TAG="20180408"
|
PACKAGING_APPIMAGE_DEPENDENCIES_TAG="20180408"
|
||||||
|
|
||||||
|
# Space delimited list of additional files/directories to copy from the engine directory
|
||||||
|
# when packaging your mod. e.g. "./mods/modcontent" or "./mods/d2k/OpenRA.Mods.D2k.dll"
|
||||||
|
PACKAGING_COPY_ENGINE_FILES=""
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Advanced Configuration
|
# Advanced Configuration
|
||||||
#
|
#
|
||||||
|
|||||||
@ -64,6 +64,11 @@ make core SDK="-sdk:4.5"
|
|||||||
make install-engine prefix="usr" DESTDIR="${BUILTDIR}/"
|
make install-engine prefix="usr" DESTDIR="${BUILTDIR}/"
|
||||||
make install-common-mod-files prefix="usr" DESTDIR="${BUILTDIR}/"
|
make install-common-mod-files prefix="usr" DESTDIR="${BUILTDIR}/"
|
||||||
|
|
||||||
|
for f in ${PACKAGING_COPY_ENGINE_FILES}; do
|
||||||
|
mkdir -p "${BUILTDIR}/usr/lib/openra/$(dirname "${f}")"
|
||||||
|
cp -r "${f}" "${BUILTDIR}/usr/lib/openra/${f}"
|
||||||
|
done
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|||||||
@ -75,6 +75,12 @@ make osx-dependencies
|
|||||||
make core SDK="-sdk:4.5"
|
make core SDK="-sdk:4.5"
|
||||||
make install-engine gameinstalldir="/Contents/Resources/" DESTDIR="${BUILTDIR}/OpenRA.app"
|
make install-engine gameinstalldir="/Contents/Resources/" DESTDIR="${BUILTDIR}/OpenRA.app"
|
||||||
make install-common-mod-files gameinstalldir="/Contents/Resources/" DESTDIR="${BUILTDIR}/OpenRA.app"
|
make install-common-mod-files gameinstalldir="/Contents/Resources/" DESTDIR="${BUILTDIR}/OpenRA.app"
|
||||||
|
|
||||||
|
for f in ${PACKAGING_COPY_ENGINE_FILES}; do
|
||||||
|
mkdir -p "${BUILTDIR}/OpenRA.app/Contents/Resources/$(dirname "${f}")"
|
||||||
|
cp -r "${f}" "${BUILTDIR}/OpenRA.app/Contents/Resources/${f}"
|
||||||
|
done
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|||||||
@ -63,6 +63,12 @@ make windows-dependencies
|
|||||||
make core SDK="-sdk:4.5"
|
make core SDK="-sdk:4.5"
|
||||||
make install-engine gameinstalldir="" DESTDIR="${BUILTDIR}"
|
make install-engine gameinstalldir="" DESTDIR="${BUILTDIR}"
|
||||||
make install-common-mod-files gameinstalldir="" DESTDIR="${BUILTDIR}"
|
make install-common-mod-files gameinstalldir="" DESTDIR="${BUILTDIR}"
|
||||||
|
|
||||||
|
for f in ${PACKAGING_COPY_ENGINE_FILES}; do
|
||||||
|
mkdir -p "${BUILTDIR}/$(dirname "${f}")"
|
||||||
|
cp -r "${f}" "${BUILTDIR}/${f}"
|
||||||
|
done
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user