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)
Thu, Oct 9, 7:17 PM
Unknown Object (File)
Fri, Sep 19, 10:44 PM
Unknown Object (File)
Sep 11 2025, 3:38 AM
Unknown Object (File)
Sep 9 2025, 8:14 PM
Unknown Object (File)
Sep 9 2025, 9:26 AM
Unknown Object (File)
Sep 6 2025, 1:14 AM
Unknown Object (File)
Sep 3 2025, 6:22 PM
Unknown Object (File)
Aug 9 2025, 4:34 PM
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.