diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-04-23 01:02:43 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-04-23 01:03:13 +0200 |
commit | 23de18b0c53c23f4680a9c01ec2d5ea64444024c (patch) | |
tree | 16a63225d6983cd4e6db4b120614b5d464a8f1ed | |
parent | 7569a9f692e42d2addd8164d3b088cfbe1832a27 (diff) |
dist.mk: Create directories with $INSTALL
Other directories in $builddir are created with $MKDIR, but since these
should be as if installed, it makes sense to use the same command as
when installing.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | share/mk/dist.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/dist.mk b/share/mk/dist.mk index 1570c1fd5..e10294f1e 100644 --- a/share/mk/dist.mk +++ b/share/mk/dist.mk @@ -37,6 +37,11 @@ compression := bz2 gz lz xz dist := $(foreach x,$(compression),dist-$(x)) +$(builddir)/dist/%/: + +$(info INSTALL $@) + +$(INSTALL_DIR) $@ + + $(_DISTPAGES): $(_DISTDIR)/man%: $(srcdir)/man% | $$(@D)/ $(info INSTALL $@) $(INSTALL_DATA) -T $< $@ |