Skip to content

Commit

Permalink
Added support for copying documentation package to package directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinMooreSr committed Mar 15, 2018
2 parents 9f89454 + 05e1fea commit b284caa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit b284caa

Please sign in to comment.