~vcs-imports/kupfer/master-new

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Ulrik Sverdrup
  • Date: 2012-02-26 17:50:05 UTC
  • mfrom: (2916.1.5)
  • Revision ID: git-v1:a1d52c4a74cd48e1b673e68977eba58b48928b7f
Merge branch 'full-waf'

* full-waf:
  Update NEWS
  wscript: Use .xz for distribution tarball
  wscript: Clean all .pyc files on distclean
  Update README for Waf being included in the repository and tarball
  Add waf-light and waflib from waf-1.6.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
build_subdirs = "auxdata data po extras help"
61
61
 
62
62
EXTRA_DIST = [
63
 
        "waf",
 
63
        #"waf",
64
64
        "GIT_VERSION",
65
65
]
66
66
 
93
93
        os.close(fd)
94
94
        for distfile in EXTRA_DIST:
95
95
                _tarfile_append_as(outname, distfile, os.path.join(basename, distfile))
96
 
        subprocess.call(["gzip", outname])
97
 
        subprocess.call(["sha1sum", outname + ".gz"])
 
96
        subprocess.call(["xz", "-6e", outname])
 
97
        subprocess.call(["sha1sum", outname + ".xz"])
98
98
 
99
99
def dist(ctx):
100
100
        "The standard waf dist process"
281
281
        # Separate subdirectories
282
282
        bld.add_subdirs(build_subdirs)
283
283
 
 
284
def distclean(bld):
 
285
        bld.exec_command("find ./ -name '*.pyc' -delete")
 
286
 
284
287
def intlupdate(util):
285
288
        print("You should use intltool-update directly.")
286
289
        print("You can read about this in Documentation/Manual.rst")