Provides automatic installation scripts for OpenRA with Tiberian Sun & Red Alert 2 + Dune 2 (Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

8 years ago
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -182,6 +182,15 @@
  4. PROGRAMS += mod_ts
  5. mod_ts: $(mod_ts_TARGET)
  6. +# Red Alert 2
  7. +mod_ra2_SRCS := $(shell find OpenRA.Mods.RA2/ -iname '*.cs')
  8. +mod_ra2_TARGET = mods/ra2/OpenRA.Mods.RA2.dll
  9. +mod_ra2_KIND = library
  10. +mod_ra2_DEPS = $(STD_MOD_DEPS) $(mod_common_TARGET)
  11. +mod_ra2_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) $(mod_common_TARGET)
  12. +PROGRAMS += mod_ra2
  13. +mod_ra2: $(mod_ra2_TARGET)
  14. +
  15. check-scripts:
  16. @echo
  17. @echo "Checking for Lua syntax errors..."
  18. @@ -217,6 +226,9 @@
  19. @echo "Checking for code style violations in OpenRA.Mods.TS..."
  20. @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.TS
  21. @echo
  22. + @echo "Checking for code style violations in OpenRA.Mods.RA2..."
  23. + @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.RA2
  24. + @echo
  25. @echo "Checking for code style violations in OpenRA.Utility..."
  26. @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Utility
  27. @echo
  28. @@ -258,6 +270,9 @@
  29. @echo
  30. @echo "Testing Red Alert mod MiniYAML..."
  31. @mono --debug OpenRA.Utility.exe ra --check-yaml
  32. + @echo
  33. + @echo "Testing Red Alert 2 mod MiniYAML..."
  34. + @mono --debug OpenRA.Utility.exe ra2 --check-yaml
  35. ##### Launchers / Utilities #####
  36. @@ -394,6 +409,10 @@
  37. @$(CP_R) mods/d2k "$(DATA_INSTALL_DIR)/mods/"
  38. @$(INSTALL_PROGRAM) $(mod_d2k_TARGET) "$(DATA_INSTALL_DIR)/mods/d2k"
  39. @$(CP_R) mods/modchooser "$(DATA_INSTALL_DIR)/mods/"
  40. + @$(CP_R) mods/ts "$(DATA_INSTALL_DIR)/mods/"
  41. + @$(INSTALL_PROGRAM) $(mod_ts_TARGET) "$(DATA_INSTALL_DIR)/mods/ts"
  42. + @$(CP_R) mods/ra2 "$(DATA_INSTALL_DIR)/mods/"
  43. + @$(INSTALL_PROGRAM) $(mod_ra2_TARGET) "$(DATA_INSTALL_DIR)/mods/ra2"
  44. @$(INSTALL_DATA) "global mix database.dat" "$(DATA_INSTALL_DIR)/global mix database.dat"
  45. @$(INSTALL_DATA) "GeoLite2-Country.mmdb.gz" "$(DATA_INSTALL_DIR)/GeoLite2-Country.mmdb.gz"