summaryrefslogtreecommitdiffstats
path: root/share/mk/build/html/post-grohtml.mk
blob: 26effbba98608c553fbc93880c95985cc21e6b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2021-2024, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception


ifndef MAKEFILE_BUILD_HTML_POST_GROHTML_INCLUDED
MAKEFILE_BUILD_HTML_POST_GROHTML_INCLUDED := 1


include $(MAKEFILEDIR)/build/html/troff.mk
include $(MAKEFILEDIR)/configure/build-depends/groff/post-grohtml.mk


_HTMLMAN := $(patsubst %.html.set, %.html, $(_HTMLMAN_MAN_set) $(_HTMLMAN_MDOC_set))


$(_HTMLMAN): %.html: %.html.set $(MK) | $$(@D)/
	$(info	$(INFO_)POST_GROHTML	$@)
	$(POST_GROHTML) $(POST_GROHTMLFLAGS) <$< >$@


.PHONY: build-html-post-grohtml
build-html-post-grohtml: $(_HTMLMAN);


endif  # include guard