aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-01 17:05:28 -0400
committerGlenn Morris2012-05-01 17:05:28 -0400
commitab1121bd6de4533213cc9723b8d20f89bf10f063 (patch)
tree3492115c5261ccf8fabb6c68ab1daeb1d09f0465
parent479a28157056d08bf6619dc3a6f6f9bcea87918d (diff)
downloademacs-ab1121bd6de4533213cc9723b8d20f89bf10f063.tar.gz
emacs-ab1121bd6de4533213cc9723b8d20f89bf10f063.zip
Don't hard-code manual pages in top-level Makefile.in
* Makefile.in (MAN_PAGES): Remove. (install-arch-indep, uninstall): Don't use $MAN_PAGES.
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.in12
2 files changed, 7 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 109132d0f98..eda8c04f086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
12012-05-01 Glenn Morris <rgm@gnu.org> 12012-05-01 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (MAN_PAGES): Remove.
4 (install-arch-indep, uninstall): Don't use $MAN_PAGES.
5
3 * configure.in: Try libtinfo for tputs. 6 * configure.in: Try libtinfo for tputs.
4 (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found. (Bug#9741) 7 (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found. (Bug#9741)
5 8
diff --git a/Makefile.in b/Makefile.in
index 1746412dfa5..a6dd44afa24 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -122,13 +122,9 @@ sharedstatedir=@sharedstatedir@
122libexecdir=@libexecdir@ 122libexecdir=@libexecdir@
123 123
124# Where to install Emacs's man pages. 124# Where to install Emacs's man pages.
125# This used to allow choice of the numeric extension, but this made 125# Note they contain cross-references that expect them to be in section 1.
126# little sense since the files were always installed in man1/
127# (and they contain cross-references that expect them to be there).
128mandir=@mandir@ 126mandir=@mandir@
129man1dir=$(mandir)/man1 127man1dir=$(mandir)/man1
130MAN_PAGES=ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
131 grep-changelog.1 rcs-checkin.1
132 128
133# Where to install and expect the info files describing Emacs. In the 129# Where to install and expect the info files describing Emacs. In the
134# past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but 130# past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
@@ -642,7 +638,7 @@ install-arch-indep: mkdir info install-etc
642 -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS} 638 -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
643 thisdir=`/bin/pwd`; \ 639 thisdir=`/bin/pwd`; \
644 cd ${mansrcdir}; \ 640 cd ${mansrcdir}; \
645 for page in ${MAN_PAGES}; do \ 641 for page in *.1; do \
646 (cd $${thisdir}; \ 642 (cd $${thisdir}; \
647 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; \ 643 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; \
648 chmod a+r $(DESTDIR)${man1dir}/$${page}; \ 644 chmod a+r $(DESTDIR)${man1dir}/$${page}; \
@@ -734,8 +730,8 @@ uninstall:
734 done;) 730 done;)
735 (if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ 731 (if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
736 ext=.gz; else ext=; fi; \ 732 ext=.gz; else ext=; fi; \
737 cd $(DESTDIR)${man1dir} && for page in ${MAN_PAGES}; do \ 733 cd ${mansrcdir} && for page in *.1; do \
738 rm -f $$page$$ext; done ) 734 rm -f $(DESTDIR)${man1dir}/$$page$$ext; done )
739 (cd $(DESTDIR)${bindir} && rm -f $(EMACSFULL) $(EMACS)) 735 (cd $(DESTDIR)${bindir} && rm -f $(EMACSFULL) $(EMACS))
740 (cd $(DESTDIR)${icondir} && rm -f hicolor/*x*/apps/emacs.png hicolor/*x*/apps/emacs22.png hicolor/scalable/apps/emacs.svg hicolor/scalable/mimetypes/emacs-document.svg ) 736 (cd $(DESTDIR)${icondir} && rm -f hicolor/*x*/apps/emacs.png hicolor/*x*/apps/emacs22.png hicolor/scalable/apps/emacs.svg hicolor/scalable/mimetypes/emacs-document.svg )
741 -rm -f $(DESTDIR)${desktopdir}/emacs.desktop 737 -rm -f $(DESTDIR)${desktopdir}/emacs.desktop