comparison lib-src/Makefile.in @ 3159:f877f11c8f20

* Makefile.in (install): Do install the programs listed in INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and INSTALLABLE_SCRIPTS, instead of writing the programs out.
author Jim Blandy <jimb@redhat.com>
date Thu, 27 May 1993 02:46:57 +0000
parents 84fdb06c337d
children ce5dcfc00c34
comparison
equal deleted inserted replaced
3158:665ae1c5c3b3 3159:f877f11c8f20
136 # We don't need to install `wakeup' explicitly, because it will be copied when 136 # We don't need to install `wakeup' explicitly, because it will be copied when
137 # this whole directory is copied. 137 # this whole directory is copied.
138 install: ${archlibdir} 138 install: ${archlibdir}
139 @echo 139 @echo
140 @echo "Installing utilities for users to run." 140 @echo "Installing utilities for users to run."
141 for file in ${INSTALLABLES} ; do \ 141 for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \
142 cp $${file} ${bindir}/$${file}.new ; \ 142 cp $${file} ${bindir}/$${file}.new ; \
143 chmod 755 ${bindir}/$${file}.new ; \ 143 chmod 755 ${bindir}/$${file}.new ; \
144 done 144 done
145 @echo 145 @echo
146 @echo "Changing the owner and group of utility programs to \`bin'." 146 @echo "Changing the owner and group of utility programs to \`bin'."
147 @echo "(You may ignore errors here if you don't care about this.)" 147 @echo "(You may ignore errors here if you don't care about this.)"
148 -for file in emacsclient etags ctags b2m ; do \ 148 -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \
149 chgrp bin ${bindir}/$${file}.new ; \ 149 chgrp bin ${bindir}/$${file}.new ; \
150 chown bin ${bindir}/$${file}.new ; \ 150 chown bin ${bindir}/$${file}.new ; \
151 rm -f ${bindir}/$${file} ; \ 151 rm -f ${bindir}/$${file} ; \
152 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \ 152 mv ${bindir}/$${file}.new ${bindir}/$${file} ; \
153 done 153 done