summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2014-02-13 15:52:01 -0800
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-02-13 15:54:07 -0800
commit37376debe54ccd2889174ebb8ffc3949e0bda298 (patch)
treec2f800e969bd91e5d8a78faa9d04a779a1a2ceb2 /Makefile
parentb222374b072caf062df587aa7a7d8773c2c82f31 (diff)
downloadnodejs-37376debe54ccd2889174ebb8ffc3949e0bda298.tar.gz
nodejs-37376debe54ccd2889174ebb8ffc3949e0bda298.tar.bz2
nodejs-37376debe54ccd2889174ebb8ffc3949e0bda298.zip
website: move website to joyent/node-website
The website will no longer be living in the source repository instead it can be found at http://github.com/joyent/node-website
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 4 insertions, 31 deletions
diff --git a/Makefile b/Makefile
index 817701742..374ca2a07 100644
--- a/Makefile
+++ b/Makefile
@@ -129,36 +129,15 @@ apidoc_sources = $(wildcard doc/api/*.markdown)
apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \
$(addprefix out/,$(apidoc_sources:.markdown=.json))
-apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/download out/doc/logos out/doc/images
+apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
-doc_images = $(addprefix out/,$(wildcard doc/images/* doc/*.jpg doc/*.png))
-
website_files = \
- out/doc/index.html \
- out/doc/v0.4_announcement.html \
- out/doc/cla.html \
out/doc/sh_main.js \
- out/doc/sh_javascript.min.js \
- out/doc/sh_vim-dark.css \
- out/doc/sh.css \
- out/doc/favicon.ico \
- out/doc/pipe.css \
- out/doc/about/index.html \
- out/doc/community/index.html \
- out/doc/download/index.html \
- out/doc/logos/index.html \
- out/doc/changelog.html \
- $(doc_images)
-
-doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ blog node
-
-blogclean:
- rm -rf out/blog
-
-blog: doc/blog out/Release/node tools/blog
- out/Release/node tools/blog/generate.js doc/blog/ out/blog/ doc/blog.html doc/rss.xml
+ out/doc/sh_javascript.min.js
+
+doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ node
$(apidoc_dirs):
mkdir -p $@
@@ -169,9 +148,6 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
out/doc/changelog.html: ChangeLog doc/changelog-head.html doc/changelog-foot.html tools/build-changelog.sh node
bash tools/build-changelog.sh
-out/doc/%.html: doc/%.html node
- cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@
-
out/doc/%: doc/%
cp -r $< $@
@@ -188,9 +164,6 @@ email.md: ChangeLog tools/email-footer.md
blog.html: email.md
cat $< | ./node tools/doc/node_modules/.bin/marked > $@
-blog-upload: blog
- rsync -r out/blog/ node@nodejs.org:~/web/nodejs.org/blog/
-
website-upload: doc
rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/
ssh node@nodejs.org '\