$NetBSD: patch-ae,v 1.5 1998/09/04 02:28:54 tron Exp $ --- Makefile.in.orig Sun Aug 2 02:21:22 1998 +++ Makefile.in Fri Sep 4 03:46:00 1998 @@ -383,27 +383,23 @@ chmod a+r ${infodir}/dir); \ fi; \ cd ${srcdir}/info ; \ - for f in ccmode* cl* customize* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* reftex* sc* vip* widget*; do \ + for f in ccmode* cl* customize* dired-x* ediff* emacs* forms* gnus* message* mh-e* reftex* sc* vip* widget*; do \ (cd $${thisdir}; \ - ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ - chmod a+r ${infodir}/$$f); \ + ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ done); \ else true; fi - -thisdir=`/bin/pwd`; \ - if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ - then \ - for f in ccmode cl customize dired-x ediff emacs forms gnus info message mh-e reftex sc vip widget; do \ - (cd $${thisdir}; \ - ${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/$$f); \ - done; \ - else true; fi -chmod -R a+r ${COPYDESTS} ${infodir} thisdir=`/bin/pwd`; \ cd ${srcdir}/etc; \ for page in emacs etags ctags ; do \ (cd $${thisdir}; \ - ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \ - chmod a+r ${man1dir}/$${page}${manext}); \ + if [ $${page} = emacs ]; then \ + ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/$${page}${manext}; \ + chmod a+r ${man1dir}/$${page}${manext}; \ + else \ + ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${man1dir}/emacs-$${page}${manext}; \ + chmod a+r ${man1dir}/emacs-$${page}${manext}; \ + fi) \ done ### Install LEIM files. Although they are machine-independent, we @@ -451,7 +447,7 @@ esac ; \ fi ; \ done - (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) + (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* mh-e* sc* vip*) (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1) (cd ${bindir} && rm -f emacs-${version} $(EMACS))