diff options
author | Simon Howard | 2010-01-05 15:52:12 +0000 |
---|---|---|
committer | Simon Howard | 2010-01-05 15:52:12 +0000 |
commit | 860a17497bdc189f78f5a0bca000a0451d5ae624 (patch) | |
tree | 9dfe693c8cf461a262e9aef89e4011d3e9e842af /pkg/win32/GNUmakefile | |
parent | 37325bbfc1f71111715cf2f4ef2918b6cc5c0ff1 (diff) | |
download | chocolate-doom-860a17497bdc189f78f5a0bca000a0451d5ae624.tar.gz chocolate-doom-860a17497bdc189f78f5a0bca000a0451d5ae624.tar.bz2 chocolate-doom-860a17497bdc189f78f5a0bca000a0451d5ae624.zip |
Move config.make up to pkg/ directory. Use static makefiles to generate
all packages, rather than dynamically generated makefiles. Add pkg/osx
to dist. Make OS X staging directory depend on top level documentation
files. Generate CMDLINE as part of standard build if it is not already
present. Set svn:ignore properties.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1790
Diffstat (limited to 'pkg/win32/GNUmakefile')
-rw-r--r-- | pkg/win32/GNUmakefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/win32/GNUmakefile b/pkg/win32/GNUmakefile new file mode 100644 index 00000000..93c6abe1 --- /dev/null +++ b/pkg/win32/GNUmakefile @@ -0,0 +1,26 @@ + +include ../config.make + +TOPLEVEL=../.. + +EXE_FILES=$(TOPLEVEL)/src/$(PACKAGE_TARNAME).exe \ + $(TOPLEVEL)/src/chocolate-server.exe \ + $(TOPLEVEL)/setup/chocolate-setup.exe + +DLL_FILES=$(TOPLEVEL)/src/SDL.dll \ + $(TOPLEVEL)/src/SDL_mixer.dll \ + $(TOPLEVEL)/src/SDL_net.dll + +$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-win32.zip : staging + zip -j -r $@ staging/ + +staging: $(EXE_FILES) $(DLL_FILES) $(patsubst %,../../%,$(DOC_FILES)) + rm -rf staging + mkdir staging + cp $(EXE_FILES) $(DLL_FILES) staging/ + $(STRIP) staging/*.exe + for f in $(DOC_FILES); do \ + cp $(TOPLEVEL)/$$f staging/$$f.txt; \ + unix2dos staging/$$f.txt; \ + done + |