]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Partially re-apply "doc: Fix races in a parallel build."
authorMaxim Cournoyer <maxim@guixotic.coop>
Thu, 16 Oct 2025 03:49:33 +0000 (12:49 +0900)
committerMaxim Cournoyer <maxim@guixotic.coop>
Fri, 23 Jan 2026 01:31:36 +0000 (10:31 +0900)
This partially reverts commit
5300a8683d937ccf09ed01170d3bcb93d97ed605, reinstating just the MKDIR_P
change, which is a good one.

Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
configure.ac
doc/Makefile.am

index 4650d541fa5fe3ea7cd7bc31a3b8a27a4dc7a488..4a161747ee0911ebbf175ef24832c05dab7dda40 100644 (file)
@@ -44,6 +44,7 @@ AM_PROG_AS
 AM_PROG_AR
 AC_PROG_CXX
 AM_PROG_CC_C_O
+AC_PROG_MKDIR_P
 AC_PROG_YACC
 AC_PROG_SED
 
index d853ace11125c17f13ae6e74a248044cda5c2fba..96c0b6e8e1aaf3f5c50863d763ba9f5aa4179fc2 100644 (file)
@@ -449,7 +449,7 @@ DISTCLEANFILES += $(ENUMS) stamp_enums stamp_functions
 
 
 stamp_functions: $(API_FILES)
-       -mkdir functions
+       $(MKDIR_P) functions
        -rm -f functions/*.short
        for i in $^; do \
                $(PERL) $(srcdir)/scripts/split-texi.pl functions < $$i; \
@@ -460,7 +460,7 @@ stamp_functions: $(API_FILES)
        echo $@ > $@
 
 stamp_enums: enums.texi
-       -mkdir enums
+       $(MKDIR_P) enums
        $(PERL) $(srcdir)/scripts/split-texi.pl enums enum < $<
        echo $@ > $@