From 2ca6dbb29906800a4718872a0f0b6770c02abe3d Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 25 May 2010 16:00:53 +0000 Subject: [PATCH] * ./goodies: - Change: In buildCoriolis.py, adds "dvi" & "safepdf" targets on "crlcore" tool. Not very clean because it's hard-coded. --- bootstrap/buildCoriolis.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index 335d94d7..6be10ada 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -249,13 +249,13 @@ class ProjectBuilder: self._execute ( command, "Second CMake failed" ) if self._doBuild: - print "Make arguments:", self._makeArguments - sys.stdout.flush () - #command = ["make", "DESTDIR=%s" % self._installDir] - #command += self._makeArguments - #command = self._makeArguments - command = ["make"] + command = [ "make" ] + #command += [ "DESTDIR=%s" % self._installDir ] + if tool == "crlcore" and self._enableDoc == "ON": + command += [ "dvi", "safepdf" ] command += self._makeArguments + print "Make command:", command + sys.stdout.flush () self._execute ( command, "Build failed" ) return @@ -448,6 +448,13 @@ class ProjectBuilder: print "Creating tarball directory: \"%s\"." % self._tarballDir os.makedirs ( self._tarballDir ) self.svnExport ( tools, projects ) + + # Remove unpublisheds (yet) parsers/drivers. + command = [ "/bin/rm", "-r", os.path.join(self._archiveDir,"vlsisapd","openChams") ] + self._execute ( command, "rm command failed" ) + + command = [ "/bin/rm", "-r", os.path.join(self._archiveDir,"vlsisapd","dtr") ] + self._execute ( command, "rm command failed" ) os.chdir ( self._tarballDir ) command = [ "/bin/tar", "jcvf", self._sourceTarBz2, os.path.basename(self._archiveDir) ]