Made "scons dist" create proper tarballs instead of tarbombs.
This commit is contained in:
parent
15a465b9db
commit
65adab6ed2
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ if 'dist' in COMMAND_LINE_TARGETS: # Speedup, the manifest is expensive
|
|||
dist_env = env.Clone()
|
||||
dist_tarball = dist_env.Tar('wesnoth.tar.bz2', [])
|
||||
open("dist.manifest", "w").write("\n".join(dist_manifest() + ["src/revision.hpp"]))
|
||||
dist_env.Append(TARFLAGS='-j -T dist.manifest',
|
||||
dist_env.Append(TARFLAGS='-j -T dist.manifest --transform "s,^,wesnoth/,"',
|
||||
TARCOMSTR="Making distribution tarball...")
|
||||
dist_env.AlwaysBuild(dist_tarball)
|
||||
env.Clean(all, 'wesnoth.tar.bz2')
|
||||
|
|
Loading…
Add table
Reference in a new issue