aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-12 00:24:14 -0700
committerGlenn Morris2011-05-12 00:24:14 -0700
commit4f8c52a91bbb445dc828563ce14e7bde59f07f15 (patch)
tree7bb7f4b0bfbf45c1f02b5117a0f8b616dce17744
parentd2fc7e3d0f6f57f962cbd94df3bf4fd15a37bb68 (diff)
downloademacs-4f8c52a91bbb445dc828563ce14e7bde59f07f15.tar.gz
emacs-4f8c52a91bbb445dc828563ce14e7bde59f07f15.zip
Small Makefile.in fixes for bug#8642.
* Makefile.in (src, install-arch-indep, bootstrap-clean, check-declare): Shell portability fixes.
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.in10
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 044d48646eb..e5253f3fa28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
12011-05-12 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (src, install-arch-indep, bootstrap-clean)
4 (check-declare): Shell portability fixes. (Bug#8642)
5
12011-05-10 Jim Meyering <meyering@redhat.com> 62011-05-10 Jim Meyering <meyering@redhat.com>
2 7
3 fix doubled-word typos 8 Fix doubled-word typos.
4 * admin/notes/exit-value: the the -> the 9 * admin/notes/exit-value: the the -> the
5 * doc/lispref/minibuf.texi: in in -> in 10 * doc/lispref/minibuf.texi: in in -> in
6 * doc/misc/ede.texi: or or -> or 11 * doc/misc/ede.texi: or or -> or
diff --git a/Makefile.in b/Makefile.in
index a8cdd6a901d..5127563be35 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -373,7 +373,7 @@ src: Makefile FRC
373 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \ 373 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \
374 fi; 374 fi;
375 if [ -r .bzr/checkout/dirstate ]; then \ 375 if [ -r .bzr/checkout/dirstate ]; then \
376 vcswitness="$$(pwd)/.bzr/checkout/dirstate"; \ 376 vcswitness="`pwd`/.bzr/checkout/dirstate"; \
377 fi; \ 377 fi; \
378 cd $@; $(MAKE) all $(MFLAGS) \ 378 cd $@; $(MAKE) all $(MFLAGS) \
379 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ 379 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
@@ -623,7 +623,7 @@ install-arch-indep: mkdir info install-etc
623 fi; \ 623 fi; \
624 cd ${srcdir}/info ; \ 624 cd ${srcdir}/info ; \
625 for elt in $(INFO_FILES); do \ 625 for elt in $(INFO_FILES); do \
626 test "$(HAVE_MAKEINFO)" = "no" && ! test -e $$elt && continue; \ 626 test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
627 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ 627 for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
628 ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \ 628 ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \
629 chmod a+r $(DESTDIR)${infodir}/$$f; \ 629 chmod a+r $(DESTDIR)${infodir}/$$f; \
@@ -639,7 +639,7 @@ install-arch-indep: mkdir info install-etc
639 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \ 639 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd $(DESTDIR)${infodir} && /bin/pwd)` ]; \
640 then \ 640 then \
641 for elt in $(INFO_FILES); do \ 641 for elt in $(INFO_FILES); do \
642 test "$(HAVE_MAKEINFO)" = "no" && ! test -e $$elt && continue; \ 642 test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
643 (cd $${thisdir}; \ 643 (cd $${thisdir}; \
644 ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \ 644 ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
645 done; \ 645 done; \
@@ -829,7 +829,7 @@ bootstrap-clean: FRC
829 -(cd doc/lispintro && $(MAKE) $(MFLAGS) maintainer-clean) 829 -(cd doc/lispintro && $(MAKE) $(MFLAGS) maintainer-clean)
830 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) 830 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean)
831 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) 831 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
832 [ ! -e config.log ] || mv -f config.log config.log~ 832 [ ! -f config.log ] || mv -f config.log config.log~
833 ${top_bootclean} 833 ${top_bootclean}
834## configure; make bootstrap replaces the real config.log from configure 834## configure; make bootstrap replaces the real config.log from configure
835## with the truncated one from config.status. The former is more useful. 835## with the truncated one from config.status. The former is more useful.
@@ -944,7 +944,7 @@ bootstrap: bootstrap-clean FRC
944.PHONY: check-declare 944.PHONY: check-declare
945 945
946check-declare: 946check-declare:
947 @if [ ! -e $(srcdir)/src/emacs ]; then \ 947 @if [ ! -f $(srcdir)/src/emacs ]; then \
948 echo "You must build Emacs to use this command"; \ 948 echo "You must build Emacs to use this command"; \
949 exit 1; \ 949 exit 1; \
950 fi 950 fi