From 8a4cdff25c3e2f765c288bc7ef749343ccb7ff4a Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Sun, 12 Aug 2012 17:26:52 +0000 Subject: Warn during doc build if missing tools --- bin/upload-release-files.sh | 1 + doc/SConscript | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bin/upload-release-files.sh b/bin/upload-release-files.sh index 2ba10cc..2867e3c 100755 --- a/bin/upload-release-files.sh +++ b/bin/upload-release-files.sh @@ -68,6 +68,7 @@ ssh scons@scons.org " cd .. rm latest; ln -s $VERSION latest rm production; ln -s $VERSION production + for f in HTML PDF PS TEXT; do rm $f; ln -s $VERSION/$f $f; done " echo '*****' echo '***** Now manually update index.php, includes/versions.php and news-raw.xhtml on scons.org.' diff --git a/doc/SConscript b/doc/SConscript index faa0af2..9bf40bc 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -436,6 +436,8 @@ for man_1 in man_page_list: tar_deps.extend([ps, text]) tar_list.extend([ps, text]) + else: + print "doc: WARNING: no groff, skipping text and PostScript versions of man pages" if man2html: html = os.path.join(build, 'HTML' , '%s-man.html' % man) @@ -460,6 +462,8 @@ for man_1 in man_page_list: tar_deps.append(html) tar_list.append(html) + else: + print "doc: WARNING: no man2html, skipping HTML versions of man pages" if not epydoc_cli: try: -- cgit v0.12