On Thursday 22 September 2011, Nick Bowler wrote: > Hello, > Hi Nick, thanks for the report. > I noticed a problem testing the uninstall target of my > automake-generated Makefiles. If the install prefix does not exist > before installation, automake will create the necessary directories. > But if you run a plain "make install-data" (without make install-exec), > the directories for executables are (unsurprisingly) not created. The > problem is that "make uninstall" fails in this case: > I'm not yet sure whether this should be considered a bug or a feature... I'm inclined to agree with you that it's more of a bug though, so I'll push the attached patch to maint in a few days if nobody objects. This change is not completely obvious, so any review would be appreciated. Notice that the test coverage added by the patch is far from perfect, but I'd rather improve it in the `testsuite-work' branch only, so that I'll be able to use TAP and won't be forced to write 10 or so new "sister tests" instead. Thanks, Stefano