mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
Build separate Zips for doom/doom2 and FreeDM
Consensus shows that the change in 2014-01-07T06:34:47Z!mikeonthecomputer@gmail.com was a bit too extreme. Keep FreeDM as its own special thing, being much more focused on multiplayer than the other IWADs, as well as being the vanilla-compatible IWAD.
This commit is contained in:
parent
2912bd1ca1
commit
65eec022ea
2 changed files with 20 additions and 20 deletions
|
@ -32,13 +32,8 @@ import sys
|
|||
|
||||
# Documentation files included with distributions.
|
||||
|
||||
DIST_DOCS = [
|
||||
"COPYING",
|
||||
"CREDITS",
|
||||
"README.html"
|
||||
]
|
||||
|
||||
DIR_NAME='freedoom'
|
||||
GAME_NAME=sys.argv[1]
|
||||
FILES=sys.argv[2:]
|
||||
|
||||
# Run a command, displaying it before executing it.
|
||||
|
||||
|
@ -57,17 +52,17 @@ if version[0] is 'v':
|
|||
# Strip the leading 'v' from versioning
|
||||
version = version[1:]
|
||||
|
||||
path = os.path.dirname(sys.argv[1])
|
||||
basename = os.path.basename(sys.argv[1])
|
||||
path = os.path.dirname(FILES[0])
|
||||
basename = os.path.basename(FILES[0])
|
||||
|
||||
base_dir = DIR_NAME + "-" + version
|
||||
base_dir = GAME_NAME + "-" + version
|
||||
full_path = path + "/" + base_dir
|
||||
|
||||
# Create directory and add files
|
||||
|
||||
run_command("mkdir %s" % full_path)
|
||||
for files in DIST_DOCS + sys.argv[1:]:
|
||||
run_command("cp %s %s" % (files, full_path))
|
||||
for file in FILES:
|
||||
run_command("cp %s %s" % (file, full_path))
|
||||
|
||||
orig_dir = os.getcwd()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue