[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8219: Die on building website if the man pages are missing. This h (website/trunk/en)



Author: arma
Date: 2006-08-22 23:38:26 -0400 (Tue, 22 Aug 2006)
New Revision: 8219

Modified:
   website/trunk/en/tor-manual-cvs.wml
   website/trunk/en/tor-manual.wml
Log:
Die on building website if the man pages are missing. This happens
if the Tor sandbox defined in Makefile doesn't exist.


Modified: website/trunk/en/tor-manual-cvs.wml
===================================================================
--- website/trunk/en/tor-manual-cvs.wml	2006-08-22 23:36:13 UTC (rev 8218)
+++ website/trunk/en/tor-manual-cvs.wml	2006-08-23 03:38:26 UTC (rev 8219)
@@ -6,6 +6,7 @@
 <div class="main-column">
 
 <:
+	die "Missing manpage" unless -f "$(TORCVSHEAD)/doc/tor.1.in";
 	my $man = `man2html -M '' $(TORCVSHEAD)/doc/tor.1.in`;
 	die "No manpage" unless $man;
 

Modified: website/trunk/en/tor-manual.wml
===================================================================
--- website/trunk/en/tor-manual.wml	2006-08-22 23:36:13 UTC (rev 8218)
+++ website/trunk/en/tor-manual.wml	2006-08-23 03:38:26 UTC (rev 8219)
@@ -6,6 +6,7 @@
 <div class="main-column">
 
 <:
+	die "Missing manpage" unless -f "$(TORCVSSTABLE)/doc/tor.1.in";
 	my $man = `man2html -M '' $(TORCVSSTABLE)/doc/tor.1.in`;
 	die "No manpage" unless $man;