diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-13 10:44:31 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-18 04:43:51 +0300 |
commit | c75bb30fc10bb68a087995ce7f4bf16fd8b0a4b0 (patch) | |
tree | 696fe2e1372719c2fc984cb3e5ef62e1400c39c9 /newlib/libc/Makefile.inc | |
parent | 48942fe31a0622bb2b4b5b7cebbf9af2bd53430f (diff) |
newlib: libc: reshuffle include order for the manual
When migrating the manual to the top-level, the include order was
sorted by name of the subdir. But this changed the chapter order
of the manual in the process. Change the sorting back to match
existing chapters and update the comments to explain.
Diffstat (limited to 'newlib/libc/Makefile.inc')
-rw-r--r-- | newlib/libc/Makefile.inc | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/newlib/libc/Makefile.inc b/newlib/libc/Makefile.inc index f30ced867..a26085883 100644 --- a/newlib/libc/Makefile.inc +++ b/newlib/libc/Makefile.inc @@ -34,20 +34,31 @@ man: %C%_man $(INSTALL_DATA) %D%/*.3 $(DESTDIR)$(mandir)/man3/ install-man: %C%_install-man +## The order of includes is important for two reasons: +## * The integrated documentation (chapter ordering). +## * Object overridding -- machine dir must come last. +## Do not change the order without considering the doc impact. +include %D%/argz/Makefile.inc +include %D%/stdlib/Makefile.inc include %D%/ctype/Makefile.inc -include %D%/iconv/Makefile.inc -include %D%/locale/Makefile.inc -include %D%/misc/Makefile.inc -include %D%/posix/Makefile.inc -include %D%/reent/Makefile.inc include %D%/search/Makefile.inc -include %D%/signal/Makefile.inc -include %D%/ssp/Makefile.inc -include %D%/stdio64/Makefile.inc include %D%/stdio/Makefile.inc -include %D%/stdlib/Makefile.inc +include %D%/stdio64/Makefile.inc include %D%/string/Makefile.inc +include %D%/signal/Makefile.inc include %D%/time/Makefile.inc +include %D%/locale/Makefile.inc +include %D%/reent/Makefile.inc +include %D%/errno/Makefile.inc +include %D%/misc/Makefile.inc +include %D%/unix/Makefile.inc +include %D%/posix/Makefile.inc +include %D%/syscalls/Makefile.inc +include %D%/iconv/Makefile.inc +include %D%/xdr/Makefile.inc +include %D%/ssp/Makefile.inc +include %D%/sys/Makefile.inc +include %D%/machine/Makefile.inc CLEANFILES += \ %D%/targetdep.tex \ |