Split Makefile clean recipe for document sets into individual lines.
authorRandall S. Becker <rsbecker@nexbridge.com>
Mon, 29 Mar 2021 19:45:40 +0000 (13:45 -0600)
committerPauli <pauli@openssl.org>
Wed, 31 Mar 2021 03:33:35 +0000 (13:33 +1000)
This is needed for less capable platforms with limits on the size of
command line argument lists.

Fixes #14732

CLA: The author has the permission to grant the OpenSSL Team the right to use this change.

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14735)

Configurations/unix-Makefile.tmpl

index 8a2b2353ab40cda8ff1b78a969439377a376a12a..ef4fd5f07740334d42b45cfe0dd18560150cd361 100644 (file)
@@ -544,8 +544,14 @@ libclean:
        $(RM) *{- platform->defext() -}
 
 clean: libclean
-       $(RM) $(HTMLDOCS1) $(HTMLDOCS3) $(HTMLDOCS5) $(HTMLDOCS7)
-       $(RM) $(MANDOCS1) $(MANDOCS3) $(MANDOCS5) $(MANDOCS7)
+       $(RM) $(HTMLDOCS1)
+       $(RM) $(HTMLDOCS3)
+       $(RM) $(HTMLDOCS5)
+       $(RM) $(HTMLDOCS7)
+       $(RM) $(MANDOCS1)
+       $(RM) $(MANDOCS3)
+       $(RM) $(MANDOCS5)
+       $(RM) $(MANDOCS7)
        $(RM) $(PROGRAMS) $(TESTPROGS) $(MODULES) $(SCRIPTS)
        $(RM) $(GENERATED_MANDATORY) $(GENERATED)
        -find . -name '*{- platform->depext() -}' \! -name '.*' \! -type d -exec $(RM) {} \;