Anonymous avatar Anonymous committed 9b8f049

Renamed fortunes/index.html to fortunes/fortunes-index.html so it won't
override the file on the server with the current package.

Comments (0)

Files changed (4)

 
 ALL_DEST_BASE = dest
 
+FORTUNES_TARGET = dest/vipe-homepage/humour/fortunes/fortunes-index.html
+
 DOCS_COMMON_DEPS = template.wml lib/MyNavData.pm
 
-all: latemp_targets
+all: latemp_targets $(FORTUNES_TARGET)
 	
 include include.mak
 include rules.mak
 t2/philosophy/Index/index.html.wml : lib/article-index/article-index.dtd lib/article-index/article-index.xml lib/article-index/article-index.xsl
 	touch $@
 
+$(FORTUNES_TARGET): vipe/humour/fortunes/fortunes-index.html.wml $(DOCS_COMMON_DEPS)
+	( cd vipe && wml $(WML_FLAGS) -DLATEMP_SERVER=vipe -DLATEMP_FILENAME=humour/fortunes/index.html humour/fortunes/fortunes-index.html.wml ) > $@
+
     HTML::Latemp::GenMakeHelpers->new(
         'hosts' =>
         [ map { 
-            +{ 'id' => $_, 'source_dir' => $_, 
+            +{ 'id' => $_, 'source_dir' => $_,
                 'dest_dir' => "\$(ALL_DEST_BASE)/$_-homepage" 
             } 
         } (qw(common t2 vipe)) ],
     
 $generator->process_all();
 
+use IO::All;
+
+my $text = io("include.mak")->slurp();
+$text =~ s!^(VIPE_DOCS = .*)humour/fortunes/fortunes-index.html!$1!m;
+io("include.mak")->print($text);
+
 1;
 

vipe/humour/fortunes/fortunes-index.html.wml

+#include '../template.wml'
+<latemp_subject "Fortune Cookie Files" />
+
+<p>
+These are some fortune cookie files I created that can be used with the UNIX
+fortune program. Most of the quotes here are funny, and the rest are such
+that I found especially enlightening and could not find in the other fortune
+collections.
+</p>
+
+<p>
+<!-- %%PACKAGE_BASE%% --><a href="fortunes-shlomif-0.2.7.tar.gz"><b>These fortunes in a tar.gz file</b></a>
+</p>
+
+<p>
+<a href="shlomif">shlomif</a> - a collection of my own quotes.
+</p>
+
+<p>
+<a href="shlomif-fav">shlomif-fav</a> - Favourite quotes I collected from
+various sources.
+</p>
+
+<p>
+<a href="friends">friends</a> - quotes from the scripts of the T.V. show
+Friends. They cover the first three seasons.
+</p>
+
+<p>
+<a href="joel-on-software">joel-on-software</a> - quotes from the
+<a href="http://www.joelonsoftware.com/">Joel on Software</a> site.
+</p>
+
+<p>
+<a href="osp_rules">osp_rules</a> - "The Rules of Open-Source Programming".
+Also check a <a href="http://www.advogato.org/article/395.html">discussion of it</a> on 
+<a href="http://www.advogato.org/">Advogato</a>.
+</p>
+
+<p>
+<a href="subversion">subversion</a> - Excerpts from the online 
+<a href="http://subversion.tigris.org/">Subversion</a> folklore.
+</p>
+
+<p>
+<a href="tinic">tinic</a> - the ultimate collection of reasons why 
+there is no IGLU cabal. Taken from the Israeli Linux on-line folklore. (work
+in progress)
+</p>
+
+<h2>Commentary and Disclaimer</h2>
+
+<p>
+Please report any typos or inaccuracies to me by 
+<a href="mailto:shlomif@vipe.technion.ac.il">E-mail</a>. The quotations
+here are owned by their respective copyright holders, and come with
+no warranty of any kind.
+</p>
+
+
+<h2>Links</h2>
+
+<p>
+<a
+href="http://www.splitbrain.org/index.php?x=.%2FFortunes">splitbrain.org's
+Fortunes</a> - contains fortunes from the X Files, Disc World, Forrest Gump,
+Star Wars, The Simpsons, and the Hitchhiker's guide to the galaxy.
+<br />
+<a href="http://www.catb.org/~esr/fortunes/">Eric S. Raymond's
+Fortunes</a> - quotes about individual rights, and some from the comedian
+Stephen Wright.<br />
+<a href="http://cx.capsi.com/code-jargonfortunes.html">Fortunes from
+the Hackers's Jargon File</a><br />
+<a href="http://humorix.org/downloads/#Fortunes">Humorix' Fortunes</a>
+- including Linux slogans, quotes from Linus Torvalds and others, brief
+Microsoft jokes, and some portions of their articles.<br />
+<a href="http://adi.stav.org.il/mav-flame.tar.gz">The Complete Marc A.
+Volovic Flames Collection</a> - Another Linux-IL folklore...<br />
+<a href="http://www.datawar.net/technology/fortunes-random.html">Fortunes-random</a> 
+- a collection of random fortune cookies.<br />
+<a href="http://kernelnewbies.org/kernelnewbies-fortunes.tar.gz">The 
+\#kernelnewbies fortune file</a> - a collection of funny or amusing Linux 
+kernel development related quotes.<br />
+<a href="http://www.katspace.net/quotes/">KatSpace Quotes in Fortune Format</a>.<br />
+</p>
+

vipe/humour/fortunes/index.html.wml

-#include '../template.wml'
-<latemp_subject "Fortune Cookie Files" />
-
-<p>
-These are some fortune cookie files I created that can be used with the UNIX
-fortune program. Most of the quotes here are funny, and the rest are such
-that I found especially enlightening and could not find in the other fortune
-collections.
-</p>
-
-<p>
-<!-- %%PACKAGE_BASE%% --><a href="fortunes-shlomif-0.2.7.tar.gz"><b>These fortunes in a tar.gz file</b></a>
-</p>
-
-<p>
-<a href="shlomif">shlomif</a> - a collection of my own quotes.
-</p>
-
-<p>
-<a href="shlomif-fav">shlomif-fav</a> - Favourite quotes I collected from
-various sources.
-</p>
-
-<p>
-<a href="friends">friends</a> - quotes from the scripts of the T.V. show
-Friends. They cover the first three seasons.
-</p>
-
-<p>
-<a href="joel-on-software">joel-on-software</a> - quotes from the
-<a href="http://www.joelonsoftware.com/">Joel on Software</a> site.
-</p>
-
-<p>
-<a href="osp_rules">osp_rules</a> - "The Rules of Open-Source Programming".
-Also check a <a href="http://www.advogato.org/article/395.html">discussion of it</a> on 
-<a href="http://www.advogato.org/">Advogato</a>.
-</p>
-
-<p>
-<a href="subversion">subversion</a> - Excerpts from the online 
-<a href="http://subversion.tigris.org/">Subversion</a> folklore.
-</p>
-
-<p>
-<a href="tinic">tinic</a> - the ultimate collection of reasons why 
-there is no IGLU cabal. Taken from the Israeli Linux on-line folklore. (work
-in progress)
-</p>
-
-<h2>Commentary and Disclaimer</h2>
-
-<p>
-Please report any typos or inaccuracies to me by 
-<a href="mailto:shlomif@vipe.technion.ac.il">E-mail</a>. The quotations
-here are owned by their respective copyright holders, and come with
-no warranty of any kind.
-</p>
-
-
-<h2>Links</h2>
-
-<p>
-<a
-href="http://www.splitbrain.org/index.php?x=.%2FFortunes">splitbrain.org's
-Fortunes</a> - contains fortunes from the X Files, Disc World, Forrest Gump,
-Star Wars, The Simpsons, and the Hitchhiker's guide to the galaxy.
-<br />
-<a href="http://www.catb.org/~esr/fortunes/">Eric S. Raymond's
-Fortunes</a> - quotes about individual rights, and some from the comedian
-Stephen Wright.<br />
-<a href="http://cx.capsi.com/code-jargonfortunes.html">Fortunes from
-the Hackers's Jargon File</a><br />
-<a href="http://humorix.org/downloads/#Fortunes">Humorix' Fortunes</a>
-- including Linux slogans, quotes from Linus Torvalds and others, brief
-Microsoft jokes, and some portions of their articles.<br />
-<a href="http://adi.stav.org.il/mav-flame.tar.gz">The Complete Marc A.
-Volovic Flames Collection</a> - Another Linux-IL folklore...<br />
-<a href="http://www.datawar.net/technology/fortunes-random.html">Fortunes-random</a> 
-- a collection of random fortune cookies.<br />
-<a href="http://kernelnewbies.org/kernelnewbies-fortunes.tar.gz">The 
-\#kernelnewbies fortune file</a> - a collection of funny or amusing Linux 
-kernel development related quotes.<br />
-<a href="http://www.katspace.net/quotes/">KatSpace Quotes in Fortune Format</a>.<br />
-</p>
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.