r297 - html/trunk html/trunk/alfs html/trunk/blfs html/trunk/hints html/trunk/hlfs html/trunk/lfs html/trunk/livecd html/trunk/patches scripts/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Wed Jun 15 19:33:46 PDT 2005


Author: jhuntwork
Date: 2005-06-15 20:33:46 -0600 (Wed, 15 Jun 2005)
New Revision: 297

Added:
   html/trunk/alfs/news.html
   html/trunk/blfs/news.html
   html/trunk/hints/news.html
   html/trunk/hlfs/news.html
   html/trunk/lfs/news.html
   html/trunk/livecd/news.html
   html/trunk/news.html
   html/trunk/patches/news.html
Modified:
   scripts/trunk/update-website.mk
Log:
[www2] First attempt at providing skeleton news.html files

Added: html/trunk/alfs/news.html
===================================================================
--- html/trunk/alfs/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/alfs/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="ALFS News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>ALFS News</h1


Property changes on: html/trunk/alfs/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/blfs/news.html
===================================================================
--- html/trunk/blfs/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/blfs/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="BLFS News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>BLFS News</h1


Property changes on: html/trunk/blfs/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/hints/news.html
===================================================================
--- html/trunk/hints/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/hints/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="Hints News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>Hints News</h1


Property changes on: html/trunk/hints/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/hlfs/news.html
===================================================================
--- html/trunk/hlfs/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/hlfs/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="HLFS News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>HLFS News</h1


Property changes on: html/trunk/hlfs/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/lfs/news.html
===================================================================
--- html/trunk/lfs/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/lfs/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="LFS News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+     <h1>LFS News</h1


Property changes on: html/trunk/lfs/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/livecd/news.html
===================================================================
--- html/trunk/livecd/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/livecd/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="LFS LiveCD News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>LiveCD News</h1


Property changes on: html/trunk/livecd/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/news.html
===================================================================
--- html/trunk/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="Linux From Scratch News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+     <h1>General LFS News</h1


Property changes on: html/trunk/news.html
___________________________________________________________________
Name: svn:executable
   + *

Added: html/trunk/patches/news.html
===================================================================
--- html/trunk/patches/news.html	2005-06-16 01:16:23 UTC (rev 296)
+++ html/trunk/patches/news.html	2005-06-16 02:33:46 UTC (rev 297)
@@ -0,0 +1,5 @@
+<!--#set var="pageTitle" value="LFS Patches News" -->
+<!--#include virtual="header.html" -->
+<!--#include virtual="menu.html" -->
+   <div class="main">
+    <h1>Patches News</h1


Property changes on: html/trunk/patches/news.html
___________________________________________________________________
Name: svn:executable
   + *

Modified: scripts/trunk/update-website.mk
===================================================================
--- scripts/trunk/update-website.mk	2005-06-16 01:16:23 UTC (rev 296)
+++ scripts/trunk/update-website.mk	2005-06-16 02:33:46 UTC (rev 297)
@@ -64,14 +64,10 @@
 	for i in logs/* ; do name=`echo $$i | \
 	sed 's at logs/\(.*\).html@\1@'` && lcname=`echo $$name | tr A-Z a-z` && \
 	if [ $$name != "www2" ] ; then \
-	echo "<!--#set var=\"pageTitle\" value=\"$$name News\" -->" > $$lcname/news.html && \
-	echo "<!--#include virtual=\"header.html\" -->" >> $$lcname/news.html && \
-	echo "<!--#include virtual=\"menu.html\" -->" >> $$lcname/news.html && \
-	echo "<div class=\"main\">" >> $$lcname/news.html && \
-	echo "<h1>$$name News</h1>" >> $$lcname/news.html && \
 	cat $$i >> $$lcname/news.html && \
-	echo "<!--#include virtual=\"/common/footer.html\" -->" >> $$lcname/news.html && \
-	chmod 755 $$lcname/news.html ; fi ; done
+	echo "<!--#include virtual=\"/common/footer.html\" -->" >> $$lcname/news.html ; else \
+	cat $$i >> news.html && \
+	echo "<!--#include virtual=\"common/footer.html\" -->" >> news.html ; fi ; done
 
 svnlog2-%:
 	mkdir -p logs




More information about the website mailing list