hgbook
changeset 157:e49f4451d0e3
Add hgbook front page material.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed Mar 21 23:27:34 2007 -0700 (2007-03-21) |
parents | 91a936be78b8 |
children | d3f8aec5beff |
files | .hgignore en/Makefile html/index.en.html html/index.html.var |
line diff
1.1 --- a/.hgignore Mon Mar 12 23:11:26 2007 -0700 1.2 +++ b/.hgignore Wed Mar 21 23:27:34 2007 -0700 1.3 @@ -1,5 +1,6 @@ 1.4 -\bauto/ 1.5 -\bhtml/ 1.6 +[^/]+/auto/ 1.7 +[^/]+/dist/ 1.8 +[^/]+/html/ 1.9 1.10 syntax: glob 1.11
2.1 --- a/en/Makefile Mon Mar 12 23:11:26 2007 -0700 2.2 +++ b/en/Makefile Wed Mar 21 23:27:34 2007 -0700 2.3 @@ -77,6 +77,10 @@ 2.4 tour \ 2.5 tour-merge-conflict 2.6 2.7 +dist-sources := \ 2.8 + ../html/index.html.var \ 2.9 + ../html/index.en.html 2.10 + 2.11 latex-options = \ 2.12 -interaction batchmode \ 2.13 -output-directory $(dir $(1)) \ 2.14 @@ -178,11 +182,12 @@ 2.15 $(image-svg:%.svg=%.png) \ 2.16 examples/*.{lxo,run} examples/.run build_id.tex 2.17 2.18 -install: pdf split 2.19 +install: pdf split $(dist-sources) 2.20 rm -rf dist 2.21 mkdir -p dist 2.22 cp pdf/hgbook.pdf dist 2.23 cp html/split/*.{css,html,png} dist 2.24 + cp $(dist-sources) dist 2.25 2.26 rsync: install 2.27 rsync -avz --delete dist sp.red-bean.com:public_html/hgbook
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/html/index.en.html Wed Mar 21 23:27:34 2007 -0700 3.3 @@ -0,0 +1,47 @@ 3.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3.5 +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3.6 +<html lang="en"> 3.7 + <head> 3.8 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 3.9 + <title>Distributed revision control with Mercurial</title> 3.10 + </head> 3.11 + 3.12 + <body> 3.13 + <h1>Distributed revision control with Mercurial</h1> 3.14 + 3.15 + <p>Welcome to the home of the book “Distributed revision 3.16 + control with Mercurial”. This is a <a 3.17 + href="hgbookap4.html">freely licensed</a> book about the <a 3.18 + href="http://www.selenic.com/mercurial">Mercurial</a> revision 3.19 + control system.</p> 3.20 + 3.21 + <ul> 3.22 + <li>The <a href="hgbook.html">HTML version</a> is split into one 3.23 + web page per chapter.</li> 3.24 + <li>The <a href="hgbook.pdf">PDF version</a> is a single 1.3 3.25 + megabyte file.</li> 3.26 + <li>The <a href="http://hg.serpentine.com/mercurial/book">source 3.27 + code</a> is available to the adventurous.</li> 3.28 + </ul> 3.29 + 3.30 + <h2>How you can help Mercurial, and help free software</h2> 3.31 + 3.32 + <p>Mercurial is a member of the <a 3.33 + href="http://conservancy.softwarefreedom.org/">Software 3.34 + Freedom Conservancy</a>, a wonderful non-profit 3.35 + organisation that offers its member projects legal and 3.36 + administrative advice. The SFC can accept <a 3.37 + href="http://conservancy.softwarefreedom.org/?donate">accept 3.38 + donations</a> (tax-free under IRS 501(c)(3), within the United 3.39 + States) on behalf of its member projects. If you would like to 3.40 + support Mercurial directly, please consider making a donation to 3.41 + the SFC on its behalf.</p> 3.42 + 3.43 + <p>If you would like to help free software developers to provide 3.44 + their important public services without being impeded by legal 3.45 + issues, please consider donating to the SFC's sister 3.46 + organisation, the <a 3.47 + href="http://www.softwarefreedom.org/">Software Freedom Law 3.48 + Center</a>.</p> 3.49 + </body> 3.50 +</html>