On Sat, Dec 29, 2007 at 03:50:14PM -0800, Russ Allbery wrote: >Even if we decide to reintroduce this bug into Perl 5.10 to keep existing >Debian build scripts working, we should still fix the Makefile.PL >invocations in all of our packages so that the directory isn't created >with either 5.8 or 5.10 and then (the important part) remove the rmdir. >Since eventually we'll want to go back to not creating these useless >directories....
Hrm. What I'm specifically objecting to is the explicit passing of directory args to Makefile.PL like INSTALLVENDORARCH etc. This is unnecessary duplication, error-prone[0] and makes things harder if we ever choose to change the directory layout[1]. If the problem is a backward-compatible way of handling the removal of these empty dirs, maybe something like this? find $(TMP) -depth -type d -empty -print0 | \ xargs -0r rmdir -p --ignore-fail-on-non-empty --bod [0] See <[EMAIL PROTECTED]> for example. [1] As was the case when we moved to this layout from the perl-5.005 packages. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]