mk: Add docs to dist prep
For integrating doc upload into the dist-snap process
This commit is contained in:
parent
92d8181bde
commit
116ebe5af8
12
mk/dist.mk
12
mk/dist.mk
|
@ -20,6 +20,7 @@
|
||||||
# * dist-win - Windows exe installers
|
# * dist-win - Windows exe installers
|
||||||
# * dist-osx - OS X .pkg installers
|
# * dist-osx - OS X .pkg installers
|
||||||
# * dist-tar-bins - Ad-hoc Unix binary installers
|
# * dist-tar-bins - Ad-hoc Unix binary installers
|
||||||
|
# * dist-docs - Stage docs for upload
|
||||||
|
|
||||||
PKG_NAME = $(CFG_PACKAGE_NAME)
|
PKG_NAME = $(CFG_PACKAGE_NAME)
|
||||||
|
|
||||||
|
@ -185,6 +186,17 @@ $(foreach host,$(CFG_HOST),\
|
||||||
$(eval $(call DEF_INSTALLER,$(host))))
|
$(eval $(call DEF_INSTALLER,$(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)
|
# Primary targets (dist, distcheck)
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Loading…
Reference in New Issue