Page MenuHomeFreeBSD

Refactor hardware.html generation logic.
ClosedPublic

Authored by gjb on Dec 12 2017, 8:32 PM.
Tags
None
Referenced Files
F174144646: D13467.diff
Wed, Sep 30, 9:58 PM
Unknown Object (File)
Sat, Sep 19, 4:15 PM
Unknown Object (File)
Aug 22 2026, 2:05 PM
Unknown Object (File)
Aug 22 2026, 2:05 PM
Unknown Object (File)
Aug 21 2026, 2:45 PM
Unknown Object (File)
Aug 21 2026, 1:57 PM
Unknown Object (File)
Aug 20 2026, 1:12 PM
Unknown Object (File)
Aug 11 2026, 10:12 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.