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.

47 lines
1.7 KiB

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -173,6 +173,15 @@
  4. PROGRAMS += mod_d2k
  5. mod_d2k: $(mod_d2k_TARGET)
  6. +# Dune 2
  7. +mod_d2_SRCS := $(shell find OpenRA.Mods.D2/ -iname '*.cs')
  8. +mod_d2_TARGET = mods/d2/OpenRA.Mods.D2.dll
  9. +mod_d2_KIND = library
  10. +mod_d2_DEPS = $(STD_MOD_DEPS) $(mod_common_TARGET)
  11. +mod_d2_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) $(mod_common_TARGET)
  12. +PROGRAMS += mod_d2
  13. +mod_d2: $(mod_d2_TARGET)
  14. +
  15. # Tiberian Sun
  16. mod_ts_SRCS := $(shell find OpenRA.Mods.TS/ -iname '*.cs')
  17. mod_ts_TARGET = mods/ts/OpenRA.Mods.TS.dll
  18. @@ -214,6 +223,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.D2..."
  23. + @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.D2
  24. + @echo
  25. @echo "Checking for code style violations in OpenRA.Mods.TS..."
  26. @mono --debug OpenRA.Utility.exe ra --check-code-style OpenRA.Mods.TS
  27. @echo
  28. @@ -247,6 +259,9 @@
  29. test: utility mods
  30. @echo
  31. + @echo "Testing Dune 2 mod MiniYAML..."
  32. + @mono --debug OpenRA.Utility.exe d2 --check-yaml
  33. + @echo
  34. @echo "Testing Tiberian Sun mod MiniYAML..."
  35. @mono --debug OpenRA.Utility.exe ts --check-yaml
  36. @echo
  37. @@ -391,6 +406,8 @@
  38. @$(INSTALL_PROGRAM) $(mod_cnc_TARGET) "$(DATA_INSTALL_DIR)/mods/cnc"
  39. @$(CP_R) mods/ra "$(DATA_INSTALL_DIR)/mods/"
  40. @$(INSTALL_PROGRAM) $(mod_ra_TARGET) "$(DATA_INSTALL_DIR)/mods/ra"
  41. + @$(CP_R) mods/d2 "$(DATA_INSTALL_DIR)/mods/"
  42. + @$(INSTALL_PROGRAM) $(mod_d2_TARGET) "$(DATA_INSTALL_DIR)/mods/d2"
  43. @$(CP_R) mods/d2k "$(DATA_INSTALL_DIR)/mods/"
  44. @$(INSTALL_PROGRAM) $(mod_d2k_TARGET) "$(DATA_INSTALL_DIR)/mods/d2k"
  45. @$(CP_R) mods/modchooser "$(DATA_INSTALL_DIR)/mods/"