There is a pattern we've followed in the past, that when a manpage applies to more than 2 (or 3?) architectures, then we simply make it MI.
So MANSUBDIR would get deleted, and then the sets would be updated. People with old systems will retain the old files, but I think man(1) selects the MI ones over the MD ones (I think we have no override capability). Klemens Nanni <[email protected]> wrote: > It looks like an oversight when those were hooked up, but I don't have > access to that platform to test myself. > > Feedback? OK? > > Index: usr.sbin/apm/Makefile > =================================================================== > RCS file: /cvs/src/usr.sbin/apm/Makefile,v > retrieving revision 1.19 > diff -u -p -r1.19 Makefile > --- usr.sbin/apm/Makefile 15 Jul 2020 22:46:52 -0000 1.19 > +++ usr.sbin/apm/Makefile 20 Mar 2021 20:57:23 -0000 > @@ -19,6 +19,6 @@ NOPROG=yes > .endif > > MAN= apm.8 > -MANSUBDIR=arm64 amd64 i386 loongson macppc sparc64 > +MANSUBDIR=arm64 amd64 i386 loongson macppc sparc64 powerpc64 > > .include <bsd.prog.mk> > Index: usr.sbin/apmd/Makefile > =================================================================== > RCS file: /cvs/src/usr.sbin/apmd/Makefile,v > retrieving revision 1.15 > diff -u -p -r1.15 Makefile > --- usr.sbin/apmd/Makefile 15 Jul 2020 22:46:52 -0000 1.15 > +++ usr.sbin/apmd/Makefile 20 Mar 2021 21:00:37 -0000 > @@ -13,6 +13,6 @@ NOPROG=yes > .endif > > MAN= apmd.8 > -MANSUBDIR= arm64 amd64 i386 loongson macppc sparc64 > +MANSUBDIR= arm64 amd64 i386 loongson macppc sparc64 powerpc64 > > .include <bsd.prog.mk> > Index: distrib/sets/lists/man/mi > =================================================================== > RCS file: /cvs/src/distrib/sets/lists/man/mi,v > retrieving revision 1.1616 > diff -u -p -r1.1616 mi > --- distrib/sets/lists/man/mi 1 Mar 2021 23:26:59 -0000 1.1616 > +++ distrib/sets/lists/man/mi 20 Mar 2021 21:00:15 -0000 > @@ -2511,6 +2511,8 @@ > ./usr/share/man/man8/pkg_check.8 > ./usr/share/man/man8/portmap.8 > ./usr/share/man/man8/powerpc64/MAKEDEV.8 > +./usr/share/man/man8/powerpc64/apm.8 > +./usr/share/man/man8/powerpc64/apmd.8 > ./usr/share/man/man8/powerpc64/eeprom.8 > ./usr/share/man/man8/pppd.8 > ./usr/share/man/man8/pppstats.8 >
