comparison lib-src/Makefile.in @ 6351:377e82e70f7e

(install, ${archlibdir}): Switch back to .. before running INSTALL_PROGRAM.
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Mar 1994 22:10:04 +0000
parents 3e0d51feb34f
children 7b1ae3d4534c
comparison
equal deleted inserted replaced
6350:9feb98fdf5aa 6351:377e82e70f7e
118 @echo 118 @echo
119 @echo "Installing utilities run internally by Emacs." 119 @echo "Installing utilities run internally by Emacs."
120 ./make-path ${archlibdir} 120 ./make-path ${archlibdir}
121 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 121 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
122 for file in ${UTILITIES}; do \ 122 for file in ${UTILITIES}; do \
123 $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ 123 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
124 done ; \ 124 done ; \
125 for file in ${SCRIPTS}; do \ 125 for file in ${SCRIPTS}; do \
126 $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file ; \ 126 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
127 done ; \ 127 done ; \
128 fi 128 fi
129 129
130 # We don't need to install `wakeup' explicitly, because it will be copied when 130 # We don't need to install `wakeup' explicitly, because it will be copied when
131 # this whole directory is copied. 131 # this whole directory is copied.
132 install: ${archlibdir} 132 install: ${archlibdir}
133 @echo 133 @echo
134 @echo "Installing utilities for users to run." 134 @echo "Installing utilities for users to run."
135 for file in ${INSTALLABLES} ; do \ 135 for file in ${INSTALLABLES} ; do \
136 $(INSTALL_PROGRAM) $${file} ${bindir}/$${file} ; \ 136 (cd ..; $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
137 done 137 done
138 for file in ${INSTALLABLE_SCRIPTS} ; do \ 138 for file in ${INSTALLABLE_SCRIPTS} ; do \
139 $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ 139 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
140 done 140 done
141 141
142 uninstall: 142 uninstall:
143 (cd ${bindir}; \ 143 (cd ${bindir}; \
144 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) 144 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})