diff options
author | isaacs <i@izs.me> | 2012-03-29 16:01:27 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-29 16:04:48 -0700 |
commit | 7abbda8ba2ecabd93b11388bc593ad94da2546bc (patch) | |
tree | 773346cb3a361e5096a28b58f24ae43cf94805ee /Makefile | |
parent | 6ebe9e0c1d28e82c5b49a9c8bbd166f6f296fd56 (diff) | |
download | node-7abbda8ba2ecabd93b11388bc593ad94da2546bc.tar.gz |
Make rules for release blog post and email message
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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/ |