Escape leading # signs in 'make email.md'
authorisaacs <i@izs.me>
Mon, 14 May 2012 23:14:12 +0000 (16:14 -0700)
committerisaacs <i@izs.me>
Tue, 15 May 2012 00:29:47 +0000 (17:29 -0700)
Makefile

index acc957dda7a5007a96df453c1d7d4ee57f43e173..cce1857a1ae38e28a418ac535012dd97cc79e214 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -136,7 +136,7 @@ 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 > $@
+       bash tools/changelog-head.sh | sed 's|^\* #|* \\#|g' > $@
        cat tools/email-footer.md | sed -e 's|__VERSION__|'$(VERSION)'|g' >> $@
 
 blog.html: email.md