Bir iki ufak düzenleme
This commit is contained in:
@@ -51,10 +51,11 @@ def dosbin(filename, destination=glb.dirs.sbin):
|
||||
destination,
|
||||
os.path.basename(filename)))
|
||||
|
||||
def doman(filename):
|
||||
def doman(*filenameList):
|
||||
env = glb.env
|
||||
dirs = glb.dirs
|
||||
|
||||
for filename in filenameList:
|
||||
man, postfix = filename.split('.')
|
||||
destDir = os.path.join(env.install_dir, dirs.man, "man" + postfix)
|
||||
|
||||
@@ -68,11 +69,11 @@ def doman(filename):
|
||||
copy_file(filename + '.gz',
|
||||
os.path.join(destDir,
|
||||
os.path.basename(filename)))
|
||||
|
||||
def domove(source, destination):
|
||||
env = glb.env
|
||||
|
||||
makedirs(env.install_dir + '/' + os.path.dirname(destination))
|
||||
|
||||
shutil.move(env.install_dir + '/' + source, env.install_dir + '/' + destination)
|
||||
|
||||
def dosym(source, destination):
|
||||
|
||||
Reference in New Issue
Block a user