Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 4d219b1

Updated the repository URL in the INSTALL, and now installing it from its
root location instead of keeping another copy in the repository. The makefile
was refactored to better use T2_DEST.

  • Participants
  • Parent commits 208ab09

Comments (0)

Files changed (4)

     $ PATH="$HOME/apps/latemp/bin:$PATH"
 
 7. 
-    $ svn co http://stalker.iguide.co.il:8080/svn/shlomif-homepage/wml-affiliations/trunk/wml/
+    $ svn co http://opensvn.csie.org/shlomif/wml-affiliations/trunk/wml/
     $ cd trunk/wml
     $ bash Install.bash
 
 
 9. Do the following to build the site, after all dependencies were installed:
 
-    $ svn co http://stalker.iguide.co.il:8080/svn/shlomif-homepage/homepage/trunk/
+    $ svn co http://opensvn.csie.org/shlomif/homepage/trunk/
     $ ./gen-helpers.pl
     $ (cd t2/humour/fortunes/ && make)
     $ make
 
 ALL_DEST_BASE = dest
 
-FORTUNES_TARGET = dest/t2-homepage/humour/fortunes/index.html
 
 DOCS_COMMON_DEPS = template.wml lib/MyNavData.pm
 
-all: latemp_targets $(FORTUNES_TARGET) sitemap_targets copy_fortunes
+all: latemp_targets fortunes-target sitemap_targets copy_fortunes site-source-install 
 	
 include include.mak
 include rules.mak
 
+SITE_SOURCE_INSTALL_TARGET = $(T2_DEST)/meta/site-source/INSTALL
+FORTUNES_TARGET = $(T2_DEST)/humour/fortunes/index.html
+
+site-source-install: $(SITE_SOURCE_INSTALL_TARGET)
+
+fortunes-target: $(FORTUNES_TARGET)
+
 # t2 macros
 
 RSYNC = rsync --progress --verbose --rsh=ssh
 	svn add -q t2/philosophy/books-recommends/images/*.jpg
 	$(MAKE)
 
+$(SITE_SOURCE_INSTALL_TARGET): INSTALL
+	cp -f $< $@
+
 %.show:
 	@echo "$* = $($*)"
 

File t2/meta/site-source/INSTALL

-Follow the following steps to build the homesite:
-
-1. Install Subversion.
-
-2. Install Web Meta Language (version 2.0.11 or later). You should have
-a package for it in your system.
-
-3. Install perl 5.8.x in case it's not already installed. 
-
-4. Run and configure CPAN (see - http://sial.org/howto/perl/life-with-cpan/) 
-and type:
-
-    $ perl -MCPAN -e 'install Task::Sites::ShlomiFish'
-
-Or if you have CPANPLUS installed:
-
-    $ perl -MCPANPLUS -e 'install Task::Sites::ShlomiFish'
-
-5. Install Latemp:
-
-    $ svn co http://svn.berlios.de/svnroot/repos/web-cpan/latemp/trunk/
-    $ cd trunk/installer
-    $ scons PREFIX="$HOME/apps/latemp/" install
-    $ cd ../support-headers
-    $ perl install.pl
-
-6. Add Latemp to the beginning of your path:
-
-    $ PATH="$HOME/apps/latemp/bin:$PATH"
-
-7. 
-    $ svn co http://stalker.iguide.co.il:8080/svn/shlomif-homepage/wml-affiliations/trunk/wml/
-    $ cd trunk/wml
-    $ bash Install.bash
-
-8.
-    $ svn co http://svn.berlios.de/svnroot/repos/thewml/extended-apis/trunk/
-    $ cd trunk/xhtml/1.x/
-    $ bash Install.bash
-
-9. Do the following to build the site, after all dependencies were installed:
-
-    $ svn co http://stalker.iguide.co.il:8080/svn/shlomif-homepage/homepage/trunk/
-    $ ./gen-helpers.pl
-    $ (cd t2/humour/fortunes/ && make)
-    $ make
-

File t2/meta/site-source/index.html.wml

 <latemp_subject "This Site's Source Code" />
 
 <p>
-This site source code is maintained inside <a href="http://stalker.iguide.co.il:8080/svn/shlomif-homepage/">a Subversion repository</a>, and is constructed
+This site source code is maintained inside <a href="http://opensvn.csie.org/shlomif/">a Subversion repository</a>, and is constructed
 using <a href="http://web-cpan.berlios.de/">Latemp</a> and several other
 dependencies.
 </p>