From 10b7e0c59fb43da907b8ac82566ec8eee1c58f77 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 5 May 2010 13:36:35 +1200 Subject: [PATCH] More Makefile tweaks. --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 110bdbce7f..1fb7d7baff 100644 --- a/Makefile +++ b/Makefile @@ -110,19 +110,18 @@ install: all @cp -r shaders $(INSTALL_DIR) @cp *.ttf $(INSTALL_DIR) @-cp *.ini $(INSTALL_DIR) - @-gacutil -i thirdparty/Tao/Tao.Cg.dll - @-gacutil -i thirdparty/Tao/Tao.FreeType.dll - @-gacutil -i thirdparty/Tao/Tao.OpenAl.dll - @-gacutil -i thirdparty/Tao/Tao.OpenGl.dll - @-gacutil -i thirdparty/Tao/Tao.Sdl.dll + @cp -r thirdparty $(INSTALL_DIR) @-echo "#!/bin/sh" > openra @-echo "cd $(INSTALL_DIR)" >> openra @-echo "mono $(INSTALL_DIR)/$(game_TARGET)" >> openra + @$(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir)/ @$(INSTALL_PROGRAM) -m +rx openra $(DESTDIR)$(bindir)/ @echo "OpenRA is now installed. You will now want to download http://open-ra.org/packages/ra-packages.zip \ and http://open-ra.org/packages/cnc-packages.zip and extract their contents to $(INSTALL_DIR)/mods/ra/packages \ and $(INSTALL_DIR)/mods/cnc/packages respectively." + @echo "It is also advised to install the contents of $(INSTALL_DIR)/thirdparty to the Mono Global Assembly Cache \ + with gacutil." uninstall: @-rm -r $(INSTALL_DIR)