Added support for copying documentation package to package directory

This commit is contained in:
Alvin Moore 2018-03-15 16:07:23 -07:00
commit b284caa2d7
1 changed files with 8 additions and 1 deletions

View File

@ -180,8 +180,15 @@ docpreview: javadoc godoc
docpreview_clean:
CLEAN_TARGETS= $(MAKE) -C documentation docpreview_clean
docpackage: javadoc godoc
packages/foundationdb-docs-$(VERSION)-SNAPSHOT.tar.gz: FORCE javadoc godoc
TARGETS= $(MAKE) -C documentation docpackage
@mkdir -p packages
@rm -f packages/foundationdb-docs-SNAPSHOT.tar.gz
@cp documentation/sphinx/.dist/foundationdb-docs-$(VERSION)-SNAPSHOT.tar.gz packages/foundationdb-docs-$(VERSION)-SNAPSHOT.tar.gz
docpackage: packages/foundationdb-docs-$(VERSION)-SNAPSHOT.tar.gz
FORCE:
.SECONDEXPANSION: