summaryrefslogtreecommitdiff
path: root/rdiff-backup/dist
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-12-30 06:50:47 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-12-30 06:50:47 +0000
commit867009522ee98327a90f612d3015d384a71acfbf (patch)
tree5614687dc9170091ca937bb7120c392eac87968e /rdiff-backup/dist
parent27913fa0f788d8468a4c0e8b359dc7261cbdc176 (diff)
downloadrdiff-backup-867009522ee98327a90f612d3015d384a71acfbf.tar.gz
Added rdiff-backup-statistics to build scripts
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@729 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/dist')
-rwxr-xr-xrdiff-backup/dist/makedist5
-rwxr-xr-xrdiff-backup/dist/setup.py9
2 files changed, 9 insertions, 5 deletions
diff --git a/rdiff-backup/dist/makedist b/rdiff-backup/dist/makedist
index 7f69865..a67cc7f 100755
--- a/rdiff-backup/dist/makedist
+++ b/rdiff-backup/dist/makedist
@@ -19,7 +19,7 @@ def CopyMan(destination, version):
firstline = ('.TH RDIFF-BACKUP 1 "%s" "%s" "User Manuals"\n' %
(date, version))
fp.write(firstline)
- infp = open("rdiff-backup.1", "r")
+ infp = open(os.path.basename(destination), "r")
infp.readline()
fp.write(infp.read())
fp.close()
@@ -124,11 +124,14 @@ def MakeTar():
VersionedCopy("%s/Globals.py" % (SourceDir,),
"%s/rdiff_backup/Globals.py" % (tardir,))
VersionedCopy("rdiff-backup", "%s/rdiff-backup" % (tardir,), 1)
+ VersionedCopy("rdiff-backup-statistics", "%s/rdiff-backup-statistics"
+ % (tardir,), 1)
VersionedCopy(DistDir + "/setup.py", "%s/setup.py" % (tardir,))
os.chmod(os.path.join(tardir, "setup.py"), 0755)
os.chmod(os.path.join(tardir, "rdiff-backup"), 0644)
CopyMan(os.path.join(tardir, "rdiff-backup.1"), Version)
+ CopyMan(os.path.join(tardir, "rdiff-backup-statistics.1"), Version)
os.system("tar -cvzf %s %s" % (tarfile, tardir))
shutil.rmtree(tardir)
return tarfile
diff --git a/rdiff-backup/dist/setup.py b/rdiff-backup/dist/setup.py
index c44add1..840e787 100755
--- a/rdiff-backup/dist/setup.py
+++ b/rdiff-backup/dist/setup.py
@@ -45,8 +45,8 @@ setup(name="rdiff-backup",
version=version_string,
description="Local/remote mirroring+incremental backup",
author="Ben Escoto",
- author_email="ben@emerose.org",
- url="http://www.nongnu.org/rdiff-backup",
+ author_email="rdiff-backup@emerose.org",
+ url="http://rdiff-backup.nongnu.org/",
packages = ['rdiff_backup'],
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
Extension("rdiff_backup._librsync",
@@ -55,8 +55,9 @@ setup(name="rdiff-backup",
library_dirs=libdir_list,
libraries=libname,
extra_link_args=lflags_arg)],
- scripts = ['rdiff-backup'],
- data_files = [('share/man/man1', ['rdiff-backup.1']),
+ scripts = ['rdiff-backup', 'rdiff-backup-statistics'],
+ data_files = [('share/man/man1', ['rdiff-backup.1',
+ 'rdiff-backup-statistics.1']),
('share/doc/rdiff-backup-%s' % (version_string,),
['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])])