$NetBSD: patch-ae,v 1.1.1.1 2009/08/05 10:30:29 minskim Exp $ --- Makefile.in.orig 2008-10-10 10:35:49.000000000 +0900 +++ Makefile.in @@ -141,7 +141,7 @@ man1dir=$(mandir)/man1 infodir=@infodir@ INFO_FILES=ada-mode autotype calc ccmode cl dired-x ebrowse ediff efaq \ elisp eintr emacs emacs-mime eshell eudc flymake \ - forms gnus idlwave info message mh-e newsticker org pcl-cvs \ + forms gnus idlwave message mh-e newsticker org pcl-cvs \ pgg reftex sc ses sieve speedbar tramp vip viper widget \ woman smtpmail url rcirc erc @@ -515,27 +515,23 @@ install-arch-indep: mkdir info for elt in $(INFO_FILES); do \ for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \ - chmod a+r $(DESTDIR)${infodir}/$$f; \ done; \ done); \ else true; fi -unset CDPATH; \ - thisdir=`/bin/pwd`; \ - if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \ - then \ - for elt in $(INFO_FILES); do \ - (cd $${thisdir}; \ - ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \ - done; \ - else true; fi - -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} $(DESTDIR)${datadir}/emacs/site-lisp ${COPYDESTS} $(DESTDIR)${infodir} + chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} $(DESTDIR)${datadir}/emacs/site-lisp ${COPYDESTS} $(DESTDIR)${infodir} thisdir=`/bin/pwd`; \ cd ${srcdir}/etc; \ - for page in emacs emacsclient etags ctags ; do \ + for page in emacs emacsclient ; do \ (cd $${thisdir}; \ ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 $(DESTDIR)${man1dir}/$${page}${manext}; \ chmod a+r $(DESTDIR)${man1dir}/$${page}${manext}); \ done + for page in etags ctags ; do \ + (cd $${thisdir}; \ + ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 $(DESTDIR)${man1dir}/emacs-$${page}${manext}; \ + chmod a+r $(DESTDIR)${man1dir}/emacs-$${page}${manext}); \ + done ### Install LEIM files. Although they are machine-independent, we ### have separate target here instead of including it in