$NetBSD: patch-ak,v 1.1.1.1 2009/08/05 10:30:29 minskim Exp $ --- lib-src/Makefile.in.orig 2008-10-10 10:35:49.000000000 +0900 +++ lib-src/Makefile.in @@ -335,12 +335,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: