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-04-07 16:37:44 -0700
commit08e2e570a7dfb8f89b9731cb04dda5d63882be52 (patch)
tree3df9c3e68fdb0a43d7bc65ec192926a5013f4c6b /Makefile
parent57d722011aa7b5d2b8bbe02f05c87f5a45efef0c (diff)
downloadandroid-node-v8-08e2e570a7dfb8f89b9731cb04dda5d63882be52.tar.gz
android-node-v8-08e2e570a7dfb8f89b9731cb04dda5d63882be52.tar.bz2
android-node-v8-08e2e570a7dfb8f89b9731cb04dda5d63882be52.zip
Make rules for release blog post and email message
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 737f49ae5a..1cb860f560 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,12 @@ 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 $< > $@
-out/doc/%:
+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/
@@ -143,11 +148,13 @@ docclean:
clean:
$(WAF) clean
-find tools -name "*.pyc" | xargs rm -f
+ -rm -rf blog.html email.md
distclean: docclean
-find tools -name "*.pyc" | xargs rm -f
-rm -rf dist-osx
-rm -rf out/ node node_g
+ -rm -rf blog.html email.md
check:
@tools/waf-light check