Mercurial > emacs
changeset 3426:7ecee84713e6
(do-install): Partially rewrite using `if'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 02 Jun 1993 05:16:03 +0000 |
parents | c513638ee7ed |
children | 0a4887c33fff |
files | Makefile.in |
diffstat | 1 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Wed Jun 02 02:09:04 1993 +0000 +++ b/Makefile.in Wed Jun 02 05:16:03 1993 +0000 @@ -349,17 +349,20 @@ rm -f $${subdir}/*~ ; \ done) ; \ done - -[ `(cd ./etc; /bin/pwd)` != `(cd ${srcdir}etc; /bin/pwd)` ] \ - && (echo "Copying etc/DOC* ..." ; \ - (cd etc; tar -cf - DOC*)|(cd ${etcdir}; umask 0; tar -xvf - )) - -[ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ] \ - && (cd ${srcdir}/info ; \ + if [ `(cd ./etc; /bin/pwd)` != `(cd ${srcdir}/etc; /bin/pwd)` ]; \ + then \ + echo "Copying etc/DOC* ..." ; \ + (cd etc; tar -cf - DOC*)|(cd ${etcdir}; umask 0; tar -xvf - ); \ + else true; fi + if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ + then (cd ${srcdir}/info ; \ if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ ${INSTALL_DATA} dir ${infodir}/dir ; \ fi ; \ for f in cl* emacs* forms* info* vip* ; do \ ${INSTALL_DATA} $$f ${infodir}/$$f ; \ - done) + done); \ + else true; fi cd ${srcdir}/etc; for page in emacs etags ctags ; do \ ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \ done