From: Alejandro Colomar Date: Sat, 22 Apr 2023 23:02:43 +0000 (+0200) Subject: dist.mk: Create directories with $INSTALL X-Git-Tag: man-pages-6.05~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23de18b0c53c23f4680a9c01ec2d5ea64444024c;p=thirdparty%2Fman-pages.git 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 --- diff --git a/share/mk/dist.mk b/share/mk/dist.mk index 1570c1fd54..e10294f1ea 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 $< $@