- for file in $(bindir) $(datadir) $(libdir) $(infodir) $(mandir) ; do \
- oIFS="$${IFS}"; IFS='/'; set - $${file}; IFS="$${oIFS}"; \
- pathcomp=''; test ".$${1}" = "." && shift; \
- while test $$# -ne 0 ; do \
- pathcomp="$${pathcomp}/$${1}"; shift; \
- if test ! -d "$${pathcomp}"; then \
- echo "making directory $$pathcomp" 1>&2 ; \
- mkdir "$${pathcomp}"; \
- fi; \
- done; \
- done