diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-03-21 13:37:09 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-03-24 14:29:16 -0700 |
| commit | 116ebe5af827e5df7cd64f308b62c8aa94ee7bd5 (patch) | |
| tree | 1f6449759f7cebfe3ebc16ed885a50a553787bc3 | |
| parent | 92d8181bde75af0349eb7ea5a71a37ca24c0ce53 (diff) | |
| download | rust-116ebe5af827e5df7cd64f308b62c8aa94ee7bd5.tar.gz rust-116ebe5af827e5df7cd64f308b62c8aa94ee7bd5.zip | |
mk: Add docs to dist prep
For integrating doc upload into the dist-snap process
| -rw-r--r-- | mk/dist.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/dist.mk b/mk/dist.mk index 60662c2a3d5..1954e325a5a 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -20,6 +20,7 @@ # * dist-win - Windows exe installers # * dist-osx - OS X .pkg installers # * dist-tar-bins - Ad-hoc Unix binary installers +# * dist-docs - Stage docs for upload PKG_NAME = $(CFG_PACKAGE_NAME) @@ -186,6 +187,17 @@ $(foreach host,$(CFG_HOST),\ ###################################################################### +# Docs +###################################################################### + +# Just copy the docs to a folder under dist with the appropriate name +# for uploading to S3 +dist-docs: docs compiler-docs + $(Q) mkdir -p dist/doc/ + $(Q) cp -r doc dist/doc/$(CFG_PACKAGE_VERS) + + +###################################################################### # Primary targets (dist, distcheck) ###################################################################### |
