$(call am.memoize,am.dist.parent-dirs,$(strip $(sort \
$(filter-out ., $(patsubst ./%,%,$(dir $(am.dist.files-cooked)))))))
-am.mkdir-for-dist = \
+am.dist.xmkdir = \
@$(MKDIR_P) $(patsubst %,"$(distdir)"/%,$1)$(am.chars.newline)
am.write-list-of-distfiles = \
@lst='$1'; for x in $$lst; do echo $$x; done \
endif %?TOPDIR_P%
## Make the subdirectories for the files, avoiding to exceed command
## line length limitations.
- $(call am.xargs-map,am.mkdir-for-dist,$(am.dist.parent-dirs))
+ $(call am.xargs-map,am.dist.xmkdir,$(am.dist.parent-dirs))
## Install the files and directories, applying a "VPATH rewrite"
## by hand where needed.
## To get the files in the distribution directory, use 'cp', not 'ln'.