diff options
author | isaacs <i@izs.me> | 2012-02-14 02:47:50 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-01 03:17:55 +0400 |
commit | 4051c2843b17f481374036be0860b870f52be75a (patch) | |
tree | 65e43038a97f06fb22c233fda6f1bcd2f7fed15d /Makefile | |
parent | 217bb47b0271df61dc93a37a440404794679245a (diff) |
docs: Move images out of the dist tarball
This puts all images in doc/images/ and references them via
http://nodejs.org/images/.
Any complaints about copyright usage etc. can thus be node/joyent's
problem, rather than the problem of a downstream distribution channel.
Conflicts:
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 6 insertions, 25 deletions
@@ -80,10 +80,12 @@ out/Release/node: all apidoc_sources = $(wildcard doc/api/*.markdown) apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) -apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos +apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets out/doc/about out/doc/community out/doc/logos out/doc/images 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 \ @@ -92,33 +94,12 @@ website_files = \ out/doc/sh_javascript.min.js \ out/doc/sh_vim-dark.css \ out/doc/sh.css \ - out/doc/logo.png \ out/doc/favicon.ico \ out/doc/pipe.css \ out/doc/about/index.html \ - out/doc/close-downloads.png \ out/doc/community/index.html \ - out/doc/community/not-invented-here.png \ out/doc/logos/index.html \ - out/doc/microsoft-logo.png \ - out/doc/ryan-speaker.jpg \ - out/doc/download-logo.png \ - out/doc/ebay-logo.png \ - out/doc/footer-logo-alt.png \ - out/doc/footer-logo.png \ - out/doc/icons-interior.png \ - out/doc/icons.png \ - out/doc/home-icons.png \ - out/doc/joyent-logo_orange_nodeorg-01.png \ - out/doc/linkedin-logo.png \ - out/doc/logo-light.png \ - out/doc/mac_osx_nodejs_installer_logo.png \ - out/doc/microsoft-logo.png \ - out/doc/platform-icons.png \ - out/doc/sponsored.png \ - out/doc/twitter-bird.png \ - out/doc/community-icons.png \ - out/doc/yahoo-logo.png + $(doc_images) doc docs: out/Release/node $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) @@ -129,7 +110,7 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/ cp $< $@ out/doc/%: doc/% - cp $< $@ + cp -r $< $@ out/doc/api/%.html: doc/api/%.markdown out/Release/node $(apidoc_dirs) $(apiassets) tools/doctool/doctool.js out/Release/node tools/doctool/doctool.js doc/template.html $< > $@ @@ -197,7 +178,7 @@ $(TARBALL): out/doc cp doc/node.1 $(TARNAME)/doc/node.1 cp -r out/doc/api $(TARNAME)/doc/api rm -rf $(TARNAME)/deps/v8/test # too big - rm -rf $(TARNAME)/doc/logos/*.{png,eps} # too big + rm -rf $(TARNAME)/doc/images # too big tar -cf $(TARNAME).tar $(TARNAME) rm -rf $(TARNAME) gzip -f -9 $(TARNAME).tar |