diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-21 10:12:26 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-05 03:39:05 +0300 |
commit | 3365bd2f7a8926457e13699c827a59b0c547bbd2 (patch) | |
tree | e3459a92f81ccfc914d22def41c4f41c96a62ff5 /newlib/doc | |
parent | 67c600b99545390c9ebaf96a84f47c3614e492ce (diff) |
newlib: libm: move manual into top-level build
This doesn't migrate all the docs, just the libm's manual (pdf/info).
This is to show the basic form of migrating the chew files.
Diffstat (limited to 'newlib/doc')
-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 ) |