git: 20af75300d - main - documentation/Makefile: have toc-clean target check for empty BOOK_LANGS
Ceri Davies <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by ceri: URL: https://cgit.FreeBSD.org/doc/commit/?id=20af75300dc780f5f2e610c7670723688b94ae76 commit 20af75300dc780f5f2e610c7670723688b94ae76 Author: Ceri Davies <[email protected]> AuthorDate: 2021-07-22 12:01:11 +0000 Commit: Ceri Davies <[email protected]> CommitDate: 2021-07-22 12:01:11 +0000 documentation/Makefile: have toc-clean target check for empty BOOK_LANGS --- documentation/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/Makefile b/documentation/Makefile index 3ccfc6ca7b..615b162ffa 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -137,11 +137,13 @@ build: .PHONY HUGO_DISABLELANGUAGES="${SKIP_LANGS}" ${HUGO_CMD} ${HUGO_ARGS} toc-clean: .PHONY +.if !empty(BOOK_LANGS) rm -f $$(${PYTHON_CMD} ./tools/books-toc-parts-creator.py -l ${BOOK_LANGS} -o) rm -f $$(${PYTHON_CMD} ./tools/books-toc-creator.py -l ${BOOK_LANGS} -o) rm -f $$(${PYTHON_CMD} ./tools/books-toc-figures-creator.py -l ${BOOK_LANGS} -o) rm -f $$(${PYTHON_CMD} ./tools/books-toc-tables-creator.py -l ${BOOK_LANGS} -o) rm -f $$(${PYTHON_CMD} ./tools/books-toc-examples-creator.py -l ${BOOK_LANGS} -o) +.endif pgp-clean: .PHONY rm -f static/pgpkeys/pgpkeys.txt _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all To unsubscribe, send any mail to "[email protected]"