diff options
Diffstat (limited to 'newlib/doc/local.mk')
-rw-r--r-- | newlib/doc/local.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/doc/local.mk b/newlib/doc/local.mk index 64083c3dd..5c867c998 100644 --- a/newlib/doc/local.mk +++ b/newlib/doc/local.mk @@ -18,3 +18,14 @@ man-cache: ${srcdir}/doc/makedocbook.py --cache PHONY += man-cache + +# +# Subdir documentation rules. +# + +SUFFIXES += .def + +CHEW = $(MKDOC) -f $(srcdir)/%D%/doc.str + +.c.def: + $(AM_V_GEN)$(CHEW) < $< > $*.def || ( rm $*.def && false ) |