* Make it possible to specify doc directory's name via destDir
parameter provided to pisitools.dodoc.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-08-03 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||
* Make it possible to specify doc directory's name via destDir
|
||||
parameter provided to pisitools.dodoc.
|
||||
|
||||
2009-06-30 Onur Küçük <onur@pardus.org.tr>
|
||||
* Change default make job number from 1 to 3 in pisi defaults,
|
||||
sometimes it is forgotten and we need to see parallel build errors
|
||||
|
||||
@@ -45,9 +45,10 @@ def dodir(destinationDirectory):
|
||||
'''creates a directory tree'''
|
||||
makedirs(join_path(get.installDIR(), destinationDirectory))
|
||||
|
||||
def dodoc(*sourceFiles):
|
||||
def dodoc(*sourceFiles, **kw):
|
||||
'''inserts the files in the list of files into /usr/share/doc/PACKAGE'''
|
||||
readable_insinto(join_path(get.installDIR(), join_path('/usr/share/doc', get.srcNAME())), *sourceFiles)
|
||||
destDir = kw.get("destDir", get.srcNAME())
|
||||
readable_insinto(join_path(get.installDIR(), join_path(get.docDIR(), destDir)), *sourceFiles)
|
||||
|
||||
def doexe(sourceFile, destinationDirectory):
|
||||
'''insert a executable file into destination directory'''
|
||||
|
||||
Reference in New Issue
Block a user