Page MenuHomeFreeBSD

Refactor hardware.html generation logic.
ClosedPublic

Authored by gjb on Dec 12 2017, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 29, 12:56 AM
Unknown Object (File)
Jul 4 2026, 6:43 AM
Unknown Object (File)
Jul 3 2026, 5:02 PM
Unknown Object (File)
Jul 3 2026, 3:44 AM
Unknown Object (File)
Jul 2 2026, 10:45 PM
Unknown Object (File)
Jul 2 2026, 5:49 AM
Unknown Object (File)
May 19 2026, 9:02 AM
Unknown Object (File)
Apr 28 2026, 12:07 AM
Subscribers

Details

Summary

Refactor the logic for the hardware.html page to dynamically check out share/man/man4 from the relevant branch if it does not exist.

Key changes:

  • Moves the 'THISRELEASE' definiton to Makefile.inc to reduce duplication.
  • Evaluates the branch (such as -CURRENT versus -STABLE) to determine the branch to checkout.
  • Adds a new src-checkout target to hardware/Makefile, which is added automatically to the target dependency list if the MAN4DIR does not exist.

This should eliminate needing to update the webupdate script to account for each branch share/man/man4 directory to generate the hardware page.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jul 11 2018, 6:51 PM
This revision was automatically updated to reflect the committed changes.