aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-19 19:11:09 +0000
committerRichard M. Stallman1993-07-19 19:11:09 +0000
commit103d21491faf144d9b07a079a49a169890f48b98 (patch)
tree6d72a11caf169229d9b6f53617e366c74f160a6e /lib-src
parent97344751daece6ed6456ec1dec921f75c42758ac (diff)
downloademacs-103d21491faf144d9b07a079a49a169890f48b98.tar.gz
emacs-103d21491faf144d9b07a079a49a169890f48b98.zip
(install): Use .n, not .new, for temporary filenames.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 91c041b73e0..769b239ca1b 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -142,25 +142,26 @@ ${archlibdir}: all
142 142
143# We don't need to install `wakeup' explicitly, because it will be copied when 143# We don't need to install `wakeup' explicitly, because it will be copied when
144# this whole directory is copied. 144# this whole directory is copied.
145# We use .n, not .new as before, to avoid exceeding the 14-character limit.
145install: ${archlibdir} 146install: ${archlibdir}
146 @echo 147 @echo
147 @echo "Installing utilities for users to run." 148 @echo "Installing utilities for users to run."
148 for file in ${INSTALLABLES} ; do \ 149 for file in ${INSTALLABLES} ; do \
149 cp $${file} ${bindir}/$${file}.new ; \ 150 cp $${file} ${bindir}/$${file}.n ; \
150 chmod 755 ${bindir}/$${file}.new ; \ 151 chmod 755 ${bindir}/$${file}.n ; \
151 done 152 done
152 for file in ${INSTALLABLE_SCRIPTS} ; do \ 153 for file in ${INSTALLABLE_SCRIPTS} ; do \
153 cp ${srcdir}/$${file} ${bindir}/$${file}.new ; \ 154 cp ${srcdir}/$${file} ${bindir}/$${file}.n ; \
154 chmod 755 ${bindir}/$${file}.new ; \ 155 chmod 755 ${bindir}/$${file}.n ; \
155 done 156 done
156 @echo 157 @echo
157 @echo "Changing the owner and group of utility programs to \`bin'." 158 @echo "Changing the owner and group of utility programs to \`bin'."
158 @echo "(You may ignore errors here if you don't care about this.)" 159 @echo "(You may ignore errors here if you don't care about this.)"
159 -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \ 160 -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \
160 chgrp bin ${bindir}/$${file}.new ; \ 161 chgrp bin ${bindir}/$${file}.n ; \
161 chown bin ${bindir}/$${file}.new ; \ 162 chown bin ${bindir}/$${file}.n ; \
162 rm -f ${bindir}/$${file} ; \ 163 rm -f ${bindir}/$${file} ; \
163 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \ 164 mv ${bindir}/$${file}.n ${bindir}/$${file} ; \
164 done 165 done
165 166
166uninstall: 167uninstall: