emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108086: Don't hard-code manual pages


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108086: Don't hard-code manual pages in top-level Makefile.in
Date: Tue, 01 May 2012 17:05:28 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 108086
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-05-01 17:05:28 -0400
message:
  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.
modified:
  ChangeLog
  Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-05-01 01:07:14 +0000
+++ b/ChangeLog 2012-05-01 21:05:28 +0000
@@ -1,5 +1,8 @@
 2012-05-01  Glenn Morris  <address@hidden>
 
+       * Makefile.in (MAN_PAGES): Remove.
+       (install-arch-indep, uninstall): Don't use $MAN_PAGES.
+
        * configure.in: Try libtinfo for tputs.
        (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found.  (Bug#9741)
 

=== modified file 'Makefile.in'
--- a/Makefile.in       2012-04-09 19:51:06 +0000
+++ b/Makefile.in       2012-05-01 21:05:28 +0000
@@ -122,13 +122,9 @@
 address@hidden@
 
 # Where to install Emacs's man pages.
-# This used to allow choice of the numeric extension, but this made
-# little sense since the files were always installed in man1/
-# (and they contain cross-references that expect them to be there).
+# Note they contain cross-references that expect them to be in section 1.
 address@hidden@
 man1dir=$(mandir)/man1
-MAN_PAGES=ctags.1 ebrowse.1 emacs.1 emacsclient.1 etags.1 \
-          grep-changelog.1 rcs-checkin.1
 
 # Where to install and expect the info files describing Emacs. In the
 # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
@@ -642,7 +638,7 @@
        -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
        thisdir=`/bin/pwd`; \
        cd ${mansrcdir}; \
-       for page in ${MAN_PAGES}; do \
+       for page in *.1; do \
          (cd $${thisdir}; \
           ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; 
\
           chmod a+r $(DESTDIR)${man1dir}/$${page}; \
@@ -734,8 +730,8 @@
          done;)
        (if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \
            ext=.gz; else ext=; fi; \
-        cd $(DESTDIR)${man1dir} && for page in ${MAN_PAGES}; do \
-          rm -f $$page$$ext; done )
+        cd ${mansrcdir} && for page in *.1; do \
+          rm -f $(DESTDIR)${man1dir}/$$page$$ext; done )
        (cd $(DESTDIR)${bindir}  && rm -f $(EMACSFULL) $(EMACS))
        (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 )
        -rm -f $(DESTDIR)${desktopdir}/emacs.desktop


reply via email to

[Prev in Thread] Current Thread [Next in Thread]