Mercurial > gub
changeset 2954:799ec73dedd8
don't attempt to run 'make doc' from inside gub.
author | hanwen <hanwen@lilypond.org> |
---|---|
date | Sun, 03 Dec 2006 17:19:52 +0100 |
parents | e947c4149358 |
children | dbdb07aae543 |
files | specs/lilypond.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/lilypond.py Sun Nov 26 13:21:55 2006 +0100 +++ b/specs/lilypond.py Sun Dec 03 17:19:52 2006 +0100 @@ -298,9 +298,12 @@ installer_version = self.build_version () docball = self.expand ('%(uploads)s/lilypond-%(installer_version)s-%(installer_build)s.documentation.tar.bz2', env=locals ()) infomanball = self.expand ('%(uploads)s/lilypond-%(installer_version)s-%(installer_build)s.info-man.tar.bz2', env=locals ()) + + if not os.path.exists (docball): - # Must not have cygwin CC, CXX settings. - os.system ('''make doc''') + ## can't run make, because we need the right variables (BRANCH, etc.) + raise Exception ("cannot find docball %s" % docball) + self.system (''' mkdir -p %(install_root)s/usr/share/doc/lilypond tar -C %(install_root)s/usr/share/doc/lilypond -jxf %(docball)s