$NetBSD: patch-ak,v 1.6 2007/06/11 13:57:19 markd Exp $ --- lib-src/Makefile.in.orig 2007-02-27 02:21:16.000000000 +1300 +++ lib-src/Makefile.in @@ -332,12 +332,14 @@ install: $(DESTDIR)${archlibdir} @echo @echo "Installing utilities for users to run." for file in ${INSTALLABLES} ; do \ - $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ - chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ + if [ $${file} = emacsclient ] ; then \ + $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ + else \ + $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} $(DESTDIR)${bindir}/emacs-`echo $${file} | sed '$(TRANSFORM)'` ; \ + fi ; \ done for file in ${INSTALLABLE_SCRIPTS} ; do \ - $(INSTALL_SCRIPT) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ - chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ + $(INSTALL_SCRIPT) ${srcdir}/$${file} $(DESTDIR)${bindir}/emacs-`echo $${file} | sed '$(TRANSFORM)'` ; \ done uninstall: