diff options
author | isaacs <i@izs.me> | 2012-03-30 03:01:27 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-04-08 03:37:44 +0400 |
commit | 08e2e570a7dfb8f89b9731cb04dda5d63882be52 (patch) | |
tree | 3df9c3e68fdb0a43d7bc65ec192926a5013f4c6b /Makefile | |
parent | 57d722011aa7b5d2b8bbe02f05c87f5a45efef0c (diff) |
Make rules for release blog post and email message
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |