Description: install targed doesn't honor DESTDIR variable and thus files are installed in the wrong location. We could fix the unistall target in the same way, but let's not bother. Author: Paul Gevers Index: emacspeak-ss/Makefile.in =================================================================== --- emacspeak-ss.orig/Makefile.in +++ emacspeak-ss/Makefile.in @@ -46,11 +46,11 @@ ping-apollo: ping-apollo.c install: $(SERVERS) for x in $(bindir) $(bindir)/blurbs $(bindir)/servers $(libdir); do \ - if [ ! -d $$x ]; then $(INSTALL) -d $$x; fi \ + if [ ! -d $$x ]; then $(INSTALL) -d $(DESTDIR)$$x; fi \ done - for x in $(SERVERS); do $(INSTALL) -m 755 $$x $(bindir)/servers; done - $(INSTALL) -m 644 blurbs/*.blurb $(bindir)/blurbs - $(INSTALL) ping-apollo $(libdir) + for x in $(SERVERS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(bindir)/servers; done + $(INSTALL) -m 644 blurbs/*.blurb $(DESTDIR)$(bindir)/blurbs + $(INSTALL) ping-apollo $(DESTDIR)$(libdir) uninstall: for x in $(SERVERS); do rm -f $(bindir)/servers/$$x; done