aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-24 02:18:42 +0000
committerRichard M. Stallman1993-12-24 02:18:42 +0000
commit80fce268568411772f8aa0f75cc1d1c25d688663 (patch)
tree580b8e74115271ea8c84ff5245e605b6b2df45f8 /lib-src
parent3f628ebde46e9f587145dfb7e7b55ffccfa7df09 (diff)
downloademacs-80fce268568411772f8aa0f75cc1d1c25d688663.tar.gz
emacs-80fce268568411772f8aa0f75cc1d1c25d688663.zip
(${archlibdir}, install): Use $(INSTALL_PROGRAM)
for all executables and scripts.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 3c08b554f2f..e9b6f5e9291 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -118,31 +118,22 @@ ${archlibdir}: all
118 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 118 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
119 for file in ${UTILITIES}; do \ 119 for file in ${UTILITIES}; do \
120 $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ 120 $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \
121 chmod 755 ${archlibdir}/$$file ; \
122 done ; \ 121 done ; \
123 for file in ${SCRIPTS}; do \ 122 for file in ${SCRIPTS}; do \
124 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file ; \ 123 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file ; \
125 chmod 755 ${archlibdir}/$$file ; \
126 done ; \ 124 done ; \
127 fi 125 fi
128 126
129# We don't need to install `wakeup' explicitly, because it will be copied when 127# We don't need to install `wakeup' explicitly, because it will be copied when
130# this whole directory is copied. 128# this whole directory is copied.
131# We use .n, not .new as before, to avoid exceeding the 14-character limit.
132install: ${archlibdir} 129install: ${archlibdir}
133 @echo 130 @echo
134 @echo "Installing utilities for users to run." 131 @echo "Installing utilities for users to run."
135 for file in ${INSTALLABLES} ; do \ 132 for file in ${INSTALLABLES} ; do \
136 cp $${file} ${bindir}/$${file}.n ; \ 133 $(INSTALL_PROGRAM) $${file} ${bindir}/$${file} ; \
137 chmod 755 ${bindir}/$${file}.n ; \
138 done 134 done
139 for file in ${INSTALLABLE_SCRIPTS} ; do \ 135 for file in ${INSTALLABLE_SCRIPTS} ; do \
140 cp ${srcdir}/$${file} ${bindir}/$${file}.n ; \ 136 $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \
141 chmod 755 ${bindir}/$${file}.n ; \
142 done
143 -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \
144 rm -f ${bindir}/$${file} ; \
145 mv ${bindir}/$${file}.n ${bindir}/$${file} ; \
146 done 137 done
147 138
148uninstall: 139uninstall: