summaryrefslogtreecommitdiffstats
path: root/share/mk/build/examples/dir.mk
blob: 8aaaad3f48954beacccca065359325769fcffb41 (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
26
27
# Copyright 2021-2024, Alejandro Colomar <alx@kernel.org>
# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception


ifndef MAKEFILE_BUILD_EX_DIR_INCLUDED
MAKEFILE_BUILD_EX_DIR_INCLUDED := 1


include $(MAKEFILEDIR)/build/man/man.mk
include $(MAKEFILEDIR)/configure/build-depends/coreutils/mkdir.mk
include $(MAKEFILEDIR)/configure/build-depends/coreutils/touch.mk


_PAGEEXDIRS := $(patsubst %, %.d/, $(_NONSO_MAN))


$(_PAGEEXDIRS):
	+$(info	$(INFO_)MKDIR		$@)
	+$(MKDIR) -p $@
	+$(TOUCH) $@


.PHONY: build-ex-dir
build-ex-dir: $(_PAGEEXDIRS);


endif  # include guard