git: 0a7a07dccc - main - documentation/Makefile: For PDF versions, only build requested languages.

Marc Fonvieille <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by blackend:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0a7a07dcccf3cc3c4a43174cbdafc6df88c59e81

commit 0a7a07dcccf3cc3c4a43174cbdafc6df88c59e81
Author:     Marc Fonvieille <[email protected]>
AuthorDate: 2021-07-05 17:09:18 +0000
Commit:     Marc Fonvieille <[email protected]>
CommitDate: 2021-07-05 17:09:18 +0000

    documentation/Makefile: For PDF versions, only build requested languages.
---
 documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 58a42c4aee..7cbb8cec4d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -33,7 +33,7 @@ ASCIIDOCTORPDF_CMD=	${LOCALBASE}/bin/asciidoctor-pdf
 
 .if defined(DOC_LANG) && !empty(DOC_LANG)
 LANGUAGES=	${DOC_LANG:S/,/ /g}
-.if  ${LANGUAGES:Men} == ""
+.if  ${LANGUAGES:Men} == "" && ${.TARGETS:Mpdf*} == ""
 .warning "Warning: cannot skip 'en'; adding it back"
 LANGUAGES+=	en
 .endif
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.