comparison lib-src/Makefile.in @ 4162:1d00db08fcac

(install): Use .n, not .new, for temporary filenames.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 Jul 1993 19:11:09 +0000
parents 3bd157da2222
children 4b43be9f5671
comparison
equal deleted inserted replaced
4161:8e236d4ce64b 4162:1d00db08fcac
140 chown bin ${archlibdir}/$${file} ; \ 140 chown bin ${archlibdir}/$${file} ; \
141 done 141 done
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.
145 install: ${archlibdir} 146 install: ${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
166 uninstall: 167 uninstall:
167 (cd ${bindir}; \ 168 (cd ${bindir}; \
168 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) 169 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})