blob: 0d98e78beb0b068488671802961d7881a250b756 (
plain) (
blame)
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
26
|
# Copyright 2022 Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
ifndef LIB_INSTALL_MAN_MK_
LIB_INSTALL_MAN_MK_ := 1
include $(srcdir)/lib/install.mk
include $(srcdir)/lib/src.mk
_man_man := $(patsubst $(MANDIR)/%,$(_mandir)/%,$(MAN_man))
$(_man_man): $(_mandir)/%: $(MANDIR)/% $(mk) | $$(@D)/
$(info INSTALL $@)
$(INSTALL_DATA) -T $< $@
.PHONY: install-man
install-man: $(_man_man)
@:
endif # include guard
|