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)
Nov 29 2023, 11:52 PM
Unknown Object (File)
Nov 13 2023, 2:44 AM
Unknown Object (File)
Nov 6 2023, 7:06 PM
Unknown Object (File)
Sep 25 2023, 11:34 PM
Unknown Object (File)
Sep 25 2023, 6:55 AM
Unknown Object (File)
Sep 20 2023, 11:13 PM
Unknown Object (File)
Jul 30 2023, 9:26 AM
Unknown Object (File)
Jul 10 2023, 5:03 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.