Skip to content

Commit 92a6752

Browse files
committed
chore(docs): add build_test and remove dead bazel-manpages target
Add //docs:man_pages_build_test to catch regressions in the hermetic man page build. Remove the now-dead bazel-manpages Makefile target which was previously called by Bazel but is no longer needed since manpages_impl.py drives the build directly. Signed-off-by: Jack Luar <39641663+luarss@users.noreply.github.com>
1 parent 6cead57 commit 92a6752

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

docs/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22
# Copyright (c) 2026, The OpenROAD Authors
33

4+
load("@bazel_skylib//rules:build_test.bzl", "build_test")
45
load("//bazel:man_pages.bzl", "man_pages")
56

67
man_pages(
@@ -66,3 +67,8 @@ man_pages(
6667
],
6768
visibility = ["//visibility:public"],
6869
)
70+
71+
build_test(
72+
name = "man_pages_build_test",
73+
targets = [":man_pages"],
74+
)

docs/Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,8 @@ $(CAT2_DIR)/%.2: $(CAT2_DIR)/%.md
124124
$(CAT3_DIR)/%.3: $(CAT3_DIR)/%.md
125125
mv $< $@
126126

127-
# Single-invocation target used by //docs:man_pages (Bazel). Chains the
128-
# preprocessing step (README symlinks + roff-compat conversion) with the
129-
# cat and web outputs that the Bazel rule copies into its declared outputs.
130-
bazel-manpages: preprocess cat web
131-
132127
# Phony targets
133-
.PHONY: all bazel-manpages preprocess
128+
.PHONY: all preprocess
134129

135130
# _____ _____ _ _ _____ _ ___ __
136131
# / ____| __ \| | | |_ _| \ | \ \ / /

0 commit comments

Comments
 (0)