mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-12 10:32:26 +01:00
Distribute openrct2.d.ts and scripting.md
This commit is contained in:
@@ -291,7 +291,9 @@ endif ()
|
|||||||
# Don't recurse, grab all *.txt and *.md files
|
# Don't recurse, grab all *.txt and *.md files
|
||||||
file(GLOB DOC_FILES "${ROOT_DIR}/distribution/*.txt")
|
file(GLOB DOC_FILES "${ROOT_DIR}/distribution/*.txt")
|
||||||
list(APPEND DOC_FILES "${ROOT_DIR}/contributors.md"
|
list(APPEND DOC_FILES "${ROOT_DIR}/contributors.md"
|
||||||
"${ROOT_DIR}/licence.txt")
|
"${ROOT_DIR}/licence.txt"
|
||||||
|
"${ROOT_DIR}/distribution/scripting.md"
|
||||||
|
"${ROOT_DIR}/distribution/openrct2.d.ts")
|
||||||
|
|
||||||
# CMake does not allow specifying a dependency chain which includes built-in
|
# CMake does not allow specifying a dependency chain which includes built-in
|
||||||
# targets, like `install`, so we have to trick it and execute dependency ourselves.
|
# targets, like `install`, so we have to trick it and execute dependency ourselves.
|
||||||
|
|||||||
@@ -170,6 +170,12 @@ Section "!OpenRCT2" Section1
|
|||||||
File ..\..\contributors.md
|
File ..\..\contributors.md
|
||||||
Push "$INSTDIR\contributors.md"
|
Push "$INSTDIR\contributors.md"
|
||||||
Call unix2dos
|
Call unix2dos
|
||||||
|
File ..\scripting.md
|
||||||
|
Push "$INSTDIR\scripting.md"
|
||||||
|
Call unix2dos
|
||||||
|
File ..\openrct2.d.ts
|
||||||
|
Push "$INSTDIR\openrct2.d.ts"
|
||||||
|
Call unix2dos
|
||||||
|
|
||||||
; Copy executable
|
; Copy executable
|
||||||
File /oname=${OPENRCT2_EXE} ${BINARY_DIR}\${OPENRCT2_EXE}
|
File /oname=${OPENRCT2_EXE} ${BINARY_DIR}\${OPENRCT2_EXE}
|
||||||
@@ -240,6 +246,8 @@ Section "Uninstall"
|
|||||||
Delete "$INSTDIR\licence.txt"
|
Delete "$INSTDIR\licence.txt"
|
||||||
Delete "$INSTDIR\readme.txt"
|
Delete "$INSTDIR\readme.txt"
|
||||||
Delete "$INSTDIR\contributors.md"
|
Delete "$INSTDIR\contributors.md"
|
||||||
|
Delete "$INSTDIR\scripting.md"
|
||||||
|
Delete "$INSTDIR\openrct2.d.ts"
|
||||||
Delete "$INSTDIR\${OPENRCT2_EXE}"
|
Delete "$INSTDIR\${OPENRCT2_EXE}"
|
||||||
Delete "$INSTDIR\${OPENRCT2_COM}"
|
Delete "$INSTDIR\${OPENRCT2_COM}"
|
||||||
Delete "$INSTDIR\INSTALL.LOG"
|
Delete "$INSTDIR\INSTALL.LOG"
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
|
|||||||
../contributors.md \
|
../contributors.md \
|
||||||
../licence.txt \
|
../licence.txt \
|
||||||
../distribution/changelog.txt \
|
../distribution/changelog.txt \
|
||||||
../distribution/readme.txt
|
../distribution/readme.txt \
|
||||||
|
../distribution/scripting.md \
|
||||||
|
../distribution/openrct2.d.ts
|
||||||
|
|
||||||
destination=$(cygpath -w $(readlink -f $destination))
|
destination=$(cygpath -w $(readlink -f $destination))
|
||||||
printf '\033[0;32m%s\033[0m\n' "${destination} created successfully"
|
printf '\033[0;32m%s\033[0m\n' "${destination} created successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user