insinto dosyalari farkli isimle kopyalayabilecek sekilde genisledi..
This commit is contained in:
@@ -19,14 +19,21 @@ from actionglobals import glb
|
|||||||
env = glb.env
|
env = glb.env
|
||||||
dirs = glb.dirs
|
dirs = glb.dirs
|
||||||
|
|
||||||
def insinto(directory, filename):
|
def insinto(directory, filename, fileas=''):
|
||||||
|
|
||||||
makedirs(env.install_dir + directory)
|
makedirs(env.install_dir + directory)
|
||||||
|
|
||||||
for file in glob.glob(filename):
|
if not fileas:
|
||||||
if os.access(file, os.F_OK):
|
for file in glob.glob(filename):
|
||||||
copy_file(file, env.install_dir +
|
if os.access(file, os.F_OK):
|
||||||
directory + os.path.basename(file))
|
copy_file(file, env.install_dir +
|
||||||
|
directory + os.path.basename(file))
|
||||||
|
|
||||||
|
#XXX: toparla burayi..
|
||||||
|
else:
|
||||||
|
if os.access(filename, os.F_OK):
|
||||||
|
copy_file(filename, env.install_dir +
|
||||||
|
directory + fileas)
|
||||||
|
|
||||||
def dodoc(*documentList):
|
def dodoc(*documentList):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user