[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating subdirs of distdir
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Creating subdirs of distdir |
Date: |
Tue, 06 Jun 2006 22:11:46 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
>>> "RW" == Ralf Wildenhues <address@hidden> writes:
[...]
RW> Updated patch below. What do you think?
I'm leery of the escaping substitution to define the *strip
variables, but let's go and see.
[...]
RW> + case $$dist_files in */*) \
RW> + ( cd "$(distdir)"; \
RW> + $(mkdir_p) `echo "$$dist_files" | sed -n 's,/[^/]*$$,,p' | sort
-u`; \
RW> + ) ;; \
RW> + esac; \
This caught my eye just because of the unusual layout of case
and spacing around (...). How about
case $$dist_files in \
*/*) (cd "$(distdir)" && \
$(mkdir_p) `echo "$$dist_files" | \
sed -n 's,/[^/]*$$,,p' | sort -u`) ;; \
esac; \
[...]
--
Alexandre Duret-Lutz
Shared books are happy books. http://www.bookcrossing.com/friend/gadl