File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,12 @@ out/doc/api/%.json: doc/api/%.markdown
122
122
out/doc/api/% .html : doc/api/% .markdown
123
123
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
124
124
125
- out/doc/% :
125
+ email.md : ChangeLog tools/email-footer.md
126
+ bash tools/changelog-head.sh > $@
127
+ cat tools/email-footer.md | sed -e ' s|__VERSION__|' $(VERSION ) ' |g' >> $@
128
+
129
+ blog.html : email.md
130
+ cat $< | node tools/doc/node_modules/.bin/marked > $@
126
131
127
132
website-upload : doc
128
133
rsync -r out/doc/
[email protected] :
~ /web/nodejs.org/
@@ -143,11 +148,13 @@ docclean:
143
148
clean :
144
149
$(WAF ) clean
145
150
-find tools -name " *.pyc" | xargs rm -f
151
+ -rm -rf blog.html email.md
146
152
147
153
distclean : docclean
148
154
-find tools -name " *.pyc" | xargs rm -f
149
155
-rm -rf dist-osx
150
156
-rm -rf out/ node node_g
157
+ -rm -rf blog.html email.md
151
158
152
159
check :
153
160
@tools/waf-light check
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ cat ChangeLog | {
3
+ s=-1
4
+ while read line; do
5
+ if [ " ${line: 0: 1} " == " 2" ]; then
6
+ let " ++s"
7
+ fi
8
+ if [ $s -eq 1 ]; then
9
+ exit
10
+ else
11
+ echo " $line "
12
+ fi
13
+ done
14
+ }
15
+
Original file line number Diff line number Diff line change
1
+ Source Code: http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz
2
+
3
+ Windows Installer: http://nodejs.org/dist/__VERSION__/node-__VERSION__.msi
4
+
5
+ Windows x64 Files: http://nodejs.org/dist/__VERSION__/x64/
6
+
7
+ Macintosh Installer (Universal): http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg
8
+
9
+ Other release files: http://nodejs.org/dist/__VERSION__/
10
+
11
+ Website: http://nodejs.org/docs/__VERSION__/
12
+
13
+ Documentation: http://nodejs.org/docs/__VERSION__/api/
You can’t perform that action at this time.
0 commit comments