summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-03-29 16:01:27 -0700
committerisaacs <i@izs.me>2012-03-29 16:04:48 -0700
commit7abbda8ba2ecabd93b11388bc593ad94da2546bc (patch)
tree773346cb3a361e5096a28b58f24ae43cf94805ee /Makefile
parent6ebe9e0c1d28e82c5b49a9c8bbd166f6f296fd56 (diff)
downloadandroid-node-v8-7abbda8ba2ecabd93b11388bc593ad94da2546bc.tar.gz
android-node-v8-7abbda8ba2ecabd93b11388bc593ad94da2546bc.tar.bz2
android-node-v8-7abbda8ba2ecabd93b11388bc593ad94da2546bc.zip
Make rules for release blog post and email message
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index deb542d270..9450fbfa24 100644
--- a/Makefile
+++ b/Makefile
@@ -39,13 +39,14 @@ uninstall:
out/Release/node tools/installer.js uninstall
clean:
- -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node
+ -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
-find out/ -name '*.o' -o -name '*.a' | xargs rm -rf
distclean:
-rm -rf out
-rm -f config.gypi
-rm -f config.mk
+ -rm -rf node node_g blog.html email.md
test: all
$(PYTHON) tools/test.py --mode=release simple message
@@ -136,6 +137,13 @@ out/doc/api/%.json: doc/api/%.markdown
out/doc/api/%.html: doc/api/%.markdown
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
+email.md: ChangeLog tools/email-footer.md
+ bash tools/changelog-head.sh > $@
+ cat tools/email-footer.md | sed -e 's|__VERSION__|'$(VERSION)'|g' >> $@
+
+blog.html: email.md
+ cat $< | node tools/doc/node_modules/.bin/marked > $@
+
website-upload: doc
rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/