diff options
| author | Glenn Morris | 2008-05-03 20:16:45 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-05-03 20:16:45 +0000 |
| commit | 79bc8bbb21e553f853a7c7e060f64c02426d0d73 (patch) | |
| tree | 196e5349fa03e83413a94dc2a99dcfe07ad673b5 | |
| parent | 4c18f8b45c81f17023dd2f5e99850dfde73ab047 (diff) | |
| download | emacs-79bc8bbb21e553f853a7c7e060f64c02426d0d73.tar.gz emacs-79bc8bbb21e553f853a7c7e060f64c02426d0d73.zip | |
(MAKEINFO): New, set by configure.
(install-arch-indep): Without makeinfo, ignore any missing manuals.
(info-real): New target.
(info): Without makeinfo, do nothing, else call `info-real'.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | Makefile.in | 19 |
2 files changed, 22 insertions, 4 deletions
| @@ -3,6 +3,13 @@ | |||
| 3 | * configure.in (x_libraries): Remove standard 64-bit directories - | 3 | * configure.in (x_libraries): Remove standard 64-bit directories - |
| 4 | experimental workaround for minor autoconf bug. | 4 | experimental workaround for minor autoconf bug. |
| 5 | 5 | ||
| 6 | * configure.in (--without-makeinfo): New option. If set, | ||
| 7 | absence of suitable makeinfo is not a fatal error. | ||
| 8 | * Makefile.in (MAKEINFO): New, set by configure. | ||
| 9 | (install-arch-indep): Without makeinfo, ignore any missing manuals. | ||
| 10 | (info-real): New target. | ||
| 11 | (info): Without makeinfo, do nothing, else call `info-real'. | ||
| 12 | |||
| 6 | 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu> | 13 | 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu> |
| 7 | 14 | ||
| 8 | * configure.in: Remove hpux10.20 from the desupported list. | 15 | * configure.in: Remove hpux10.20 from the desupported list. |
diff --git a/Makefile.in b/Makefile.in index 329ba07361b..8307c9d4ce9 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -84,6 +84,7 @@ CPPFLAGS=@CPPFLAGS@ | |||
| 84 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 84 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 85 | LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@ | 85 | LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@ |
| 86 | EXEEXT=@EXEEXT@ | 86 | EXEEXT=@EXEEXT@ |
| 87 | MAKEINFO=@MAKEINFO@ | ||
| 87 | 88 | ||
| 88 | ### These help us choose version- and architecture-specific directories | 89 | ### These help us choose version- and architecture-specific directories |
| 89 | ### to install files in. | 90 | ### to install files in. |
| @@ -553,6 +554,7 @@ install-arch-indep: mkdir info install-etc | |||
| 553 | fi; \ | 554 | fi; \ |
| 554 | cd ${srcdir}/info ; \ | 555 | cd ${srcdir}/info ; \ |
| 555 | for elt in $(INFO_FILES); do \ | 556 | for elt in $(INFO_FILES); do \ |
| 557 | test "$(MAKEINFO)" = "no" && ! test -e $$elt && continue; \ | ||
| 556 | for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ | 558 | for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ |
| 557 | ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \ | 559 | ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \ |
| 558 | chmod a+r $(DESTDIR)${infodir}/$$f; \ | 560 | chmod a+r $(DESTDIR)${infodir}/$$f; \ |
| @@ -564,6 +566,7 @@ install-arch-indep: mkdir info install-etc | |||
| 564 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \ | 566 | if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \ |
| 565 | then \ | 567 | then \ |
| 566 | for elt in $(INFO_FILES); do \ | 568 | for elt in $(INFO_FILES); do \ |
| 569 | test "$(MAKEINFO)" = "no" && ! test -e $$elt && continue; \ | ||
| 567 | (cd $${thisdir}; \ | 570 | (cd $${thisdir}; \ |
| 568 | ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \ | 571 | ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \ |
| 569 | done; \ | 572 | done; \ |
| @@ -770,15 +773,23 @@ dist: | |||
| 770 | cd ${srcdir}; ./make-dist | 773 | cd ${srcdir}; ./make-dist |
| 771 | 774 | ||
| 772 | .PHONY: info dvi dist check html | 775 | .PHONY: info dvi dist check html |
| 776 | |||
| 777 | info-real: | ||
| 778 | -(cd doc/emacs; $(MAKE) $(MFLAGS) info) | ||
| 779 | -(cd doc/misc; $(MAKE) $(MFLAGS) info) | ||
| 780 | -(cd doc/lispref; $(MAKE) $(MFLAGS) info) | ||
| 781 | -(cd doc/lispintro; $(MAKE) $(MFLAGS) info) | ||
| 782 | |||
| 773 | force-info: | 783 | force-info: |
| 774 | # Note that man/Makefile knows how to | 784 | # Note that man/Makefile knows how to |
| 775 | # put the info files in $(srcdir), | 785 | # put the info files in $(srcdir), |
| 776 | # so we can do ok running make in the build dir. | 786 | # so we can do ok running make in the build dir. |
| 777 | info: force-info | 787 | info: force-info |
| 778 | -(cd doc/emacs; $(MAKE) $(MFLAGS) info) | 788 | @if test "$(MAKEINFO)" = "no"; then \ |
| 779 | -(cd doc/misc; $(MAKE) $(MFLAGS) info) | 789 | echo "Configured without makeinfo, not building manuals" ; \ |
| 780 | -(cd doc/lispref; $(MAKE) $(MFLAGS) info) | 790 | else \ |
| 781 | -(cd doc/lispintro; $(MAKE) $(MFLAGS) info) | 791 | $(MAKE) $(MFLAGS) info-real ; \ |
| 792 | fi | ||
| 782 | 793 | ||
| 783 | # The info/dir file must be updated by hand when new manuals are added. | 794 | # The info/dir file must be updated by hand when new manuals are added. |
| 784 | check-info-dir: info | 795 | check-info-dir: info |