blob: fae11e1ec9a8409fb9f5d40e45dcee2dae398e26 (
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_PS_GROPS_INCLUDED
MAKEFILE_BUILD_PS_GROPS_INCLUDED := 1
include $(MAKEFILEDIR)/build/ps/troff.mk
include $(MAKEFILEDIR)/configure/build-depends/groff-base/grops.mk
_PSMAN := $(patsubst %.ps.set, %.ps, $(_PSMAN_MAN_set) $(_PSMAN_MDOC_set))
$(_PSMAN): %.ps: %.ps.set $(MK) | $$(@D)/
$(info $(INFO_)GROPS $@)
$(GROPS) $(GROPSFLAGS) <$< >$@
.PHONY: build-ps-grops
build-ps-grops: $(_PSMAN);
endif # include guard
|