Merge pull request #2904 from Mailaender/packaging-fixes

Packaging fixes
This commit is contained in:
Matthias Mailänder
2013-03-30 02:56:22 -07:00
2 changed files with 8 additions and 6 deletions

View File

@@ -7,12 +7,15 @@ PHONY = core tools package all mods clean distclean
.SUFFIXES:
core: game renderers mods utility tsbuild
tools: editor ralint tsbuild
package: core editor docs
package: dependencies core editor docs
mods: mod_ra mod_cnc mod_d2k
all: core tools
all: dependencies core tools
clean:
@-rm -f *.exe *.dll *.mdb mods/**/*.dll mods/**/*.mdb *.resources
distclean: clean
dependencies:
@ cp -r thirdparty/*.dll .
@ cp -r thirdparty/Tao/* .
#
# Core binaries
@@ -132,7 +135,6 @@ ralint_TARGET = RALint.exe
ralint_KIND = exe
ralint_DEPS = $(fileformats_TARGET) $(game_TARGET)
ralint_LIBS = $(COMMON_LIBS) $(ralint_DEPS)
ralint_EXTRA_CMDS = cp thirdparty/FuzzyLogicLibrary.dll .
PROGRAMS += ralint
ralint: $(ralint_TARGET)
@@ -169,7 +171,7 @@ utility_LIBS = $(COMMON_LIBS) $(utility_DEPS) thirdparty/ICSharpCode.Shar
PROGRAMS += utility
utility: $(utility_TARGET)
.PHONY: $(PHONY) $(PROGRAMS)
.PHONY: $(PHONY) $(PROGRAMS) dependencies
#
# Generate build rules for each target defined above in PROGRAMS

View File

@@ -28,7 +28,7 @@ markdown DOCUMENTATION.md > DOCUMENTATION.html
# List of files that are packaged on all platforms
# Note that the Tao dlls are shipped on all platforms except osx and that
# they are now installed to the game directory instead of placed in the gac
FILES="OpenRA.Game.exe OpenRA.Editor.exe OpenRA.TilesetBuilder.exe OpenRA.Utility.exe OpenRA.FileFormats.dll \
FILES="OpenRA.Game.exe OpenRA.Editor.exe OpenRA.Utility.exe OpenRA.FileFormats.dll \
OpenRA.Renderer.SdlCommon.dll OpenRA.Renderer.Cg.dll OpenRA.Renderer.Gl.dll OpenRA.Renderer.Null.dll \
FreeSans.ttf FreeSansBold.ttf titles.ttf cg glsl mods/ra mods/cnc mods/d2k \
README.html CONTRIBUTING.html DOCUMENTATION.html COPYING HACKING INSTALL CHANGELOG"