Merge pull request #747 from ajbeamon/makefile-cleanup

docpreview_clean, which is part of our normal clean target, no longer…
This commit is contained in:
Alec Grieser 2018-09-06 14:39:53 -07:00 committed by GitHub
commit f47f6a2848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -192,13 +192,16 @@ lib/libstdc++.a: $(shell $(CC) -print-file-name=libstdc++_pic.a)
@rm -r .libstdc++
docpreview: javadoc
TARGETS= $(MAKE) -C documentation docpreview
@echo "Generating docpreview"
@TARGETS= $(MAKE) -C documentation docpreview
docpreview_clean:
CLEAN_TARGETS= $(MAKE) -C documentation docpreview_clean
@echo "Cleaning docpreview"
@CLEAN_TARGETS= $(MAKE) -C documentation -s --no-print-directory docpreview_clean
packages/foundationdb-docs-$(VERSION).tar.gz: FORCE javadoc
TARGETS= $(MAKE) -C documentation docpackage
@echo "Packaging documentation"
@TARGETS= $(MAKE) -C documentation docpackage
@mkdir -p packages
@rm -f packages/foundationdb-docs-$(VERSION).tar.gz
@cp documentation/sphinx/.dist/foundationdb-docs-$(VERSION).tar.gz packages/foundationdb-docs-$(VERSION).tar.gz