blob: 564e366e9591e8268c2601943a4126cba4c9f69c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ak,v 1.7 2008/10/11 09:56:38 uebayasi 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:
|