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.

56 lines
2.0 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -155,6 +155,15 @@
  4. PROGRAMS += mod_cnc
  5. mod_cnc: $(mod_cnc_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. # Dune 2000
  16. mod_d2k_SRCS := $(shell find OpenRA.Mods.D2k/ -iname '*.cs')
  17. mod_d2k_TARGET = mods/d2k/OpenRA.Mods.D2k.dll
  18. @@ -193,6 +202,9 @@
  19. @echo "Checking for code style violations in OpenRA.Mods.D2k..."
  20. @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.D2k
  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. @@ -226,6 +238,9 @@
  29. @echo "Testing Tiberian Sun mod MiniYAML..."
  30. @mono --debug OpenRA.Utility.exe ts --check-yaml
  31. @echo
  32. + @echo "Testing Red Alert 2 mod MiniYAML..."
  33. + @mono --debug OpenRA.Utility.exe ra2 --check-yaml
  34. + @echo
  35. @echo "Testing Dune 2000 mod MiniYAML..."
  36. @mono --debug OpenRA.Utility.exe d2k --check-yaml
  37. @echo
  38. @@ -301,7 +316,7 @@
  39. package: all-dependencies core tools docs version
  40. -mods: mod_common mod_cnc mod_d2k
  41. +mods: mod_common mod_cnc mod_d2k mod_ra2
  42. all: dependencies core tools
  43. @@ -364,6 +379,8 @@
  44. @$(INSTALL_DIR) "$(DATA_INSTALL_DIR)/mods"
  45. @$(CP_R) mods/common "$(DATA_INSTALL_DIR)/mods/"
  46. @$(INSTALL_PROGRAM) $(mod_common_TARGET) "$(DATA_INSTALL_DIR)/mods/common"
  47. + @$(CP_R) mods/ra2 "$(DATA_INSTALL_DIR)/mods/"
  48. + @$(INSTALL_PROGRAM) $(mod_ra2_TARGET) "$(DATA_INSTALL_DIR)/mods/ra2"
  49. @$(CP_R) mods/cnc "$(DATA_INSTALL_DIR)/mods/"
  50. @$(INSTALL_PROGRAM) $(mod_cnc_TARGET) "$(DATA_INSTALL_DIR)/mods/cnc"
  51. @$(CP_R) mods/d2k "$(DATA_INSTALL_DIR)/mods/"