aboutsummaryrefslogtreecommitdiff
path: root/newlib/doc/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/doc/Makefile.inc')
-rw-r--r--newlib/doc/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/doc/Makefile.inc b/newlib/doc/Makefile.inc
index de1dd1f..630681c 100644
--- a/newlib/doc/Makefile.inc
+++ b/newlib/doc/Makefile.inc
@@ -28,6 +28,7 @@ SUFFIXES += .def
CHEW = $(MKDOC) -f $(srcdir)/%D%/doc.str
.c.def:
+ $(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_GEN)$(CHEW) < $< > $*.def || ( rm $*.def && false )
SUFFIXES += .xml
@@ -35,6 +36,7 @@ SUFFIXES += .xml
DOCBOOK_CHEW = ${top_srcdir}/%D%/makedocbook.py
.c.xml:
+ $(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_GEN)$(DOCBOOK_CHEW) < $< > $*.xml || ( rm $*.xml && false )
# We can't use .tex.xml rule here as it'll conflict with .c.xml when the chapter