blob: 7def4140f11be2b092a1c892f3f8175da829e317 (
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_CATMAN_GROTTY_INCLUDED
MAKEFILE_BUILD_CATMAN_GROTTY_INCLUDED := 1
include $(MAKEFILEDIR)/build/catman/troff.mk
include $(MAKEFILEDIR)/configure/build-depends/groff-base.mk
_CATMAN := $(patsubst %.cat.set,%.cat,$(_CATMAN_MAN_set) $(_CATMAN_MDOC_set))
$(_CATMAN): %.cat: %.cat.set $(MK) | $$(@D)/
$(info $(INFO_)GROTTY $@)
$(GROTTY) $(GROTTYFLAGS) <$< >$@
.PHONY: build-catman-grotty
build-catman-grotty: $(_CATMAN);
endif # include guard
|