Add changelog to website
authorRyan Dahl <ry@tinyclouds.org>
Sun, 21 Feb 2010 06:30:56 +0000 (22:30 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Sun, 21 Feb 2010 06:30:56 +0000 (22:30 -0800)
Makefile
doc/index.html

index 6b4827979f9a108ffe33d5ac6526f9b360ac97bd..c1438bf5a6b75f183f431a53be5b51622ee78163 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ test-debug: all
 benchmark: all
        build/default/node benchmark/run.js
 
-doc: doc/node.1 doc/api.html doc/index.html
+doc: doc/node.1 doc/api.html doc/index.html doc/changelog.html
 
 doc/api.html: doc/api.txt
        asciidoc --unsafe              \
@@ -37,6 +37,11 @@ doc/api.html: doc/api.txt
                -a linkcss                   \
                -o doc/api.html doc/api.txt
 
+doc/changelog.html: ChangeLog
+       echo '<html><head><title>Node.js ChangeLog</title> <link rel="stylesheet" href="./pipe.css" type="text/css" /> <link rel="stylesheet" href="./pipe-quirks.css" type="text/css" /> <body><h1>Node.js ChangeLog</h1> <pre>' > doc/changelog.html
+       cat ChangeLog >> doc/changelog.html
+       echo '</pre></body></html>' >> doc/changelog.html
+
 doc/api.xml: doc/api.txt
        asciidoc -b docbook -d manpage -o doc/api.xml doc/api.txt
 
index ba94ffac6790dc21f1e1dcba83bae346f7bd9cad..518cce9d0b81cbabc2f2b2a4d8d7ed0ebd4a4a74 100644 (file)
@@ -18,6 +18,7 @@
     <div id="toc">
       <ol>
         <li><a href="#download">Download</a></li>
+        <li><a href="changelog.html">ChangeLog</a></li>
         <li><a href="#build">Build</a></li>
         <li><a href="#about">About</a></li>
         <li><a href="#demo">Demo</a></li>