summaryrefslogtreecommitdiffstats
path: root/share/mk/dist/_.mk
blob: f6d8669f3af748d60fab1f463e399826424faca0 (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_DIST_INCLUDED
MAKEFILE_DIST_INCLUDED := 1


include $(MAKEFILEDIR)/configure/build-depends/coreutils.mk
include $(MAKEFILEDIR)/configure/directory_variables.mk


_DISTDIR := $(builddir)/dist


$(builddir)/dist/%/:
	+$(info	$(INFO_)MKDIR		$@)
	+$(INSTALL_DIR) $@


.PHONY: dist
dist: dist-tar dist-z;


endif  # include guard