summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-03-16 08:13:41 -0700
committerisaacs <i@izs.me>2012-03-16 08:13:41 -0700
commit46376888cd2afb5d34bfdb08ba7f9d1b4c6b5d4a (patch)
tree15ec72bebd25fd34fb72f232874a5f1a57ce317f /Makefile
parentec735cbce05bd5ec501ab395ae552ef8c5efb3f2 (diff)
downloadnode-46376888cd2afb5d34bfdb08ba7f9d1b4c6b5d4a.tar.gz
Remove hard-coded version number from docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 977414e2b..deb542d27 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,9 @@ $(apidoc_dirs):
out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
cp $< $@
+out/doc/%.html: doc/%.html
+ cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@
+
out/doc/%: doc/%
cp -r $< $@