| 97a6cfad | 04-Mar-2023 |
Aaron LI <aly@aaronly.me> |
mk: Improve handling of MLINKS
- Use '.for' multi-variable loop to simplify the handling of MLINKS, and thus make the code cleaner and more readable.
- Merge the MLINKS installation of man pages
mk: Improve handling of MLINKS
- Use '.for' multi-variable loop to simplify the handling of MLINKS, and thus make the code cleaner and more readable.
- Merge the MLINKS installation of man pages and catman pages, and thus remove duplicate code.
- This change also gives one benefit: if MLINKS has odd-number items, make will just fail the parsing and refuse to execute. This can prevent messing up the man page hardlinks.
As suggested by swildner, performed a 'maninstall' test and the result was identical.
Obtained-from: FreeBSD (revisions 284685 and 295229)
show more ...
|