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

[tor-commits] r24321: {website} cleaning up the manpage directory and fixing the script (in website/trunk/manpages: . en)



Author: runa
Date: 2011-03-09 17:56:44 +0000 (Wed, 09 Mar 2011)
New Revision: 24321

Added:
   website/trunk/manpages/en/
   website/trunk/manpages/en/tor-manual-dev.wml
Removed:
   website/trunk/manpages/tor-manual-dev.wml
Modified:
   website/trunk/manpages/po2man.sh
Log:
cleaning up the manpage directory and fixing the script

Copied: website/trunk/manpages/en/tor-manual-dev.wml (from rev 24319, website/trunk/manpages/tor-manual-dev.wml)
===================================================================
--- website/trunk/manpages/en/tor-manual-dev.wml	                        (rev 0)
+++ website/trunk/manpages/en/tor-manual-dev.wml	2011-03-09 17:56:44 UTC (rev 24321)
@@ -0,0 +1,30 @@
+## translation metadata
+# Revision: $Revision: 23689 $
+
+#include "head.wmi" TITLE="Tor Project: manual"
+
+# Translators shouldn't translate this file, unless they want
+# to translate the whole man page too.
+<div id="content" class="clearfix">
+  <div id="breadcrumbs">
+    <a href="<page index>">Home &raquo; </a>
+    <a href="<page docs/documentation>">Documentation &raquo; </a>
+    <a href="<page docs/tor-doc-osx>">Tor Dev Manual</a>
+  </div>
+  <div id="maincol">  
+    <:
+    	die "Missing git clone" unless -d "$(TORGIT)";
+    	my $man = `cat manpages/lang/tor.1.txt | asciidoc -d manpage -s -o - -`;
+	die "No manpage because of asciidoc error or file not available from git" unless $man;
+    	print $man;
+    :>
+  </div>
+  <!-- END MAINCOL -->
+  <div id = "sidecol">
+#include "side.wmi"
+#include "info.wmi"
+  </div>
+  <!-- END SIDECOL -->
+</div>
+<!-- END CONTENT -->
+#include <foot.wmi>  

Modified: website/trunk/manpages/po2man.sh
===================================================================
--- website/trunk/manpages/po2man.sh	2011-03-09 17:55:38 UTC (rev 24320)
+++ website/trunk/manpages/po2man.sh	2011-03-09 17:56:44 UTC (rev 24321)
@@ -81,7 +81,7 @@
 					# replace "lang" with the
 					# correct name of the language
 					# directory.
-					cp "$translated/tor-manual-dev.wml" "$wml/docs/$lang"
+					cp "$translated/en/tor-manual-dev.wml" "$wml/docs/$lang"
 				       	sed -i "0,/lang/ s/lang/"$lang"/" "$wml/docs/$lang/tor-manual-dev.wml"	
 				fi
 			fi

Deleted: website/trunk/manpages/tor-manual-dev.wml
===================================================================
--- website/trunk/manpages/tor-manual-dev.wml	2011-03-09 17:55:38 UTC (rev 24320)
+++ website/trunk/manpages/tor-manual-dev.wml	2011-03-09 17:56:44 UTC (rev 24321)
@@ -1,30 +0,0 @@
-## translation metadata
-# Revision: $Revision: 23689 $
-
-#include "head.wmi" TITLE="Tor Project: manual"
-
-# Translators shouldn't translate this file, unless they want
-# to translate the whole man page too.
-<div id="content" class="clearfix">
-  <div id="breadcrumbs">
-    <a href="<page index>">Home &raquo; </a>
-    <a href="<page docs/documentation>">Documentation &raquo; </a>
-    <a href="<page docs/tor-doc-osx>">Tor Dev Manual</a>
-  </div>
-  <div id="maincol">  
-    <:
-    	die "Missing git clone" unless -d "$(TORGIT)";
-    	my $man = `cat manpages/lang/tor.1.txt | asciidoc -d manpage -s -o - -`;
-	die "No manpage because of asciidoc error or file not available from git" unless $man;
-    	print $man;
-    :>
-  </div>
-  <!-- END MAINCOL -->
-  <div id = "sidecol">
-#include "side.wmi"
-#include "info.wmi"
-  </div>
-  <!-- END SIDECOL -->
-</div>
-<!-- END CONTENT -->
-#include <foot.wmi>  

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits