changeset 157:e49f4451d0e3

Add hgbook front page material.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 21 Mar 2007 23:27:34 -0700
parents 91a936be78b8
children d3f8aec5beff
files .hgignore en/Makefile html/index.en.html html/index.html.var
diffstat 4 files changed, 59 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Mon Mar 12 23:11:26 2007 -0700
+++ b/.hgignore	Wed Mar 21 23:27:34 2007 -0700
@@ -1,5 +1,6 @@
-\bauto/
-\bhtml/
+[^/]+/auto/
+[^/]+/dist/
+[^/]+/html/
 
 syntax: glob
 
--- a/en/Makefile	Mon Mar 12 23:11:26 2007 -0700
+++ b/en/Makefile	Wed Mar 21 23:27:34 2007 -0700
@@ -77,6 +77,10 @@
 	tour \
 	tour-merge-conflict
 
+dist-sources := \
+	../html/index.html.var \
+	../html/index.en.html
+
 latex-options = \
 	-interaction batchmode \
 	-output-directory $(dir $(1)) \
@@ -178,11 +182,12 @@
 		$(image-svg:%.svg=%.png) \
 		examples/*.{lxo,run} examples/.run build_id.tex
 
-install: pdf split
+install: pdf split $(dist-sources)
 	rm -rf dist
 	mkdir -p dist
 	cp pdf/hgbook.pdf dist
 	cp html/split/*.{css,html,png} dist
+	cp $(dist-sources) dist
 
 rsync: install
 	rsync -avz --delete dist sp.red-bean.com:public_html/hgbook
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/html/index.en.html	Wed Mar 21 23:27:34 2007 -0700
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <title>Distributed revision control with Mercurial</title>
+  </head>
+
+  <body>
+    <h1>Distributed revision control with Mercurial</h1>
+
+    <p>Welcome to the home of the book &ldquo;Distributed revision
+      control with Mercurial&rdquo;.  This is a <a
+	href="hgbookap4.html">freely licensed</a> book about the <a
+	href="http://www.selenic.com/mercurial">Mercurial</a> revision
+      control system.</p>
+
+    <ul>
+      <li>The <a href="hgbook.html">HTML version</a> is split into one
+	web page per chapter.</li>
+      <li>The <a href="hgbook.pdf">PDF version</a> is a single 1.3
+	megabyte file.</li>
+      <li>The <a href="http://hg.serpentine.com/mercurial/book">source
+	  code</a> is available to the adventurous.</li>
+    </ul>
+
+    <h2>How you can help Mercurial, and help free software</h2>
+
+    <p>Mercurial is a member of the <a
+	href="http://conservancy.softwarefreedom.org/">Software
+	Freedom Conservancy</a>, a wonderful non-profit
+      organisation that offers its member projects legal and
+      administrative advice.  The SFC can accept <a
+      href="http://conservancy.softwarefreedom.org/?donate">accept
+      donations</a> (tax-free under IRS 501(c)(3), within the United
+      States) on behalf of its member projects.  If you would like to
+      support Mercurial directly, please consider making a donation to
+      the SFC on its behalf.</p>
+
+    <p>If you would like to help free software developers to provide
+      their important public services without being impeded by legal
+      issues, please consider donating to the SFC's sister
+      organisation, the <a
+	href="http://www.softwarefreedom.org/">Software Freedom Law
+	Center</a>.</p>
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/html/index.html.var	Wed Mar 21 23:27:34 2007 -0700
@@ -0,0 +1,3 @@
+URI: index.en.html
+Content-Language: en
+Content-Type: text/html; charset=UTF-8