"make distuninstallcheck" noticed a weakness in the recipes that relocatable-maint.texi recommends for relocatable programs: "make uninstall" does not remove the ".bin" programs that install-reloc creates on some systems.
So far, the best solution that I've come up with that is generic, that is, that does not require the maintainer to name each installation directory or each program to be installed, is adding the following as an uninstall-hook: if !RELOCATABLE_VIA_LD if test $(RELOCATABLE) = yes; then \ case '$(EXEEXT)' in \ *.bin) ;; \ *) $(MAKE) uninstall EXEEXT=$(EXEEXT).bin ;; \ esac; \ fi endif It leaves something to be desired in terms of elegance, but it does work for my test case at least. Do you have any comments, or any better ideas? Thanks, Ben. -- Ben Pfaff http://benpfaff.org