diff options
| author | Glenn Morris | 2008-12-13 20:12:08 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-12-13 20:12:08 +0000 |
| commit | 8e7aa5def5f7191df5c4a1f9ff7b562dc1b7ef7c (patch) | |
| tree | 68a88595c7165fad6e55f59ce331e21c1507e7d6 | |
| parent | a3a81e9eefe34aefae592e6111e90e35b7aa4ef6 (diff) | |
| download | emacs-8e7aa5def5f7191df5c4a1f9ff7b562dc1b7ef7c.tar.gz emacs-8e7aa5def5f7191df5c4a1f9ff7b562dc1b7ef7c.zip | |
(manext): Remove variable.
(MAN_PAGES): New variable.
(install-arch-indep, uninstall): Use MAN_PAGES for list of files to add
and remove.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Makefile.in | 16 |
2 files changed, 14 insertions, 6 deletions
| @@ -1,6 +1,10 @@ | |||
| 1 | 2008-12-13 Glenn Morris <rgm@gnu.org> | 1 | 2008-12-13 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (install-arch-indep): Add new man-pages. | 3 | * Makefile.in (install-arch-indep): Add new man-pages. |
| 4 | (manext): Remove variable. | ||
| 5 | (MAN_PAGES): New variable. | ||
| 6 | (install-arch-indep, uninstall): Use MAN_PAGES for list of files to add | ||
| 7 | and remove. | ||
| 4 | 8 | ||
| 5 | 2008-12-11 Dan Nicolaescu <dann@ics.uci.edu> | 9 | 2008-12-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 6 | 10 | ||
diff --git a/Makefile.in b/Makefile.in index 08dfc041948..18f27616e9a 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -125,10 +125,14 @@ sharedstatedir=@sharedstatedir@ | |||
| 125 | # data. ${archlibdir} is a subdirectory of this. | 125 | # data. ${archlibdir} is a subdirectory of this. |
| 126 | libexecdir=@libexecdir@ | 126 | libexecdir=@libexecdir@ |
| 127 | 127 | ||
| 128 | # Where to install Emacs's man pages, and what extension they should have. | 128 | # Where to install Emacs's man pages. |
| 129 | # This used to allow choice of the numeric extension, but this made | ||
| 130 | # little sense since the files were always installed in man1/ | ||
| 131 | # (and they contain cross-references that expect them to be there). | ||
| 129 | mandir=@mandir@ | 132 | mandir=@mandir@ |
| 130 | manext=.1 | ||
| 131 | man1dir=$(mandir)/man1 | 133 | man1dir=$(mandir)/man1 |
| 134 | MAN_PAGES=b2m.1 ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \ | ||
| 135 | grep-changelog.1 rcs-checkin.1 | ||
| 132 | 136 | ||
| 133 | # Where to install and expect the info files describing Emacs. In the | 137 | # Where to install and expect the info files describing Emacs. In the |
| 134 | # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but | 138 | # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but |
| @@ -571,10 +575,10 @@ install-arch-indep: mkdir info install-etc | |||
| 571 | -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} $(DESTDIR)${datadir}/emacs/site-lisp ${COPYDESTS} $(DESTDIR)${infodir} | 575 | -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} $(DESTDIR)${datadir}/emacs/site-lisp ${COPYDESTS} $(DESTDIR)${infodir} |
| 572 | thisdir=`/bin/pwd`; \ | 576 | thisdir=`/bin/pwd`; \ |
| 573 | cd ${mansrcdir}; \ | 577 | cd ${mansrcdir}; \ |
| 574 | for page in b2m ctags ebrowse emacs emacsclient etags grep-changelog rcs-checkin; do \ | 578 | for page in ${MAN_PAGES}; do \ |
| 575 | (cd $${thisdir}; \ | 579 | (cd $${thisdir}; \ |
| 576 | ${INSTALL_DATA} ${mansrcdir}/$${page}.1 $(DESTDIR)${man1dir}/$${page}${manext}; \ | 580 | ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; \ |
| 577 | chmod a+r $(DESTDIR)${man1dir}/$${page}${manext}); \ | 581 | chmod a+r $(DESTDIR)${man1dir}/$${page}); \ |
| 578 | done | 582 | done |
| 579 | 583 | ||
| 580 | ## Install those items from etc/ that need to end up elsewhere. | 584 | ## Install those items from etc/ that need to end up elsewhere. |
| @@ -656,7 +660,7 @@ uninstall: | |||
| 656 | rm -f $$f; \ | 660 | rm -f $$f; \ |
| 657 | done; \ | 661 | done; \ |
| 658 | done;) | 662 | done;) |
| 659 | (cd $(DESTDIR)${man1dir} && rm -f emacs${manext} emacsclient${manext} etags${manext} ctags${manext}) | 663 | (cd $(DESTDIR)${man1dir} && rm -f $(MAN_PAGES)) |
| 660 | (cd $(DESTDIR)${bindir} && rm -f $(EMACSFULL) $(EMACS)) | 664 | (cd $(DESTDIR)${bindir} && rm -f $(EMACSFULL) $(EMACS)) |
| 661 | 665 | ||
| 662 | 666 | ||