Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/doc')
-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 de1dd1f2b..630681c88 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