From 53a84f3c9e044e03b40a9d5dfb21cb65b3bbe5f5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 17 May 2012 14:38:20 -0400 Subject: [PATCH] * Makefile.in (write_subdir): Move definition before use. --- Makefile.in | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile.in b/Makefile.in index 0f5ec8a0c7c..d409bce88a7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -456,6 +456,16 @@ $(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) install: all install-arch-indep install-arch-dep install-leim blessmail @true +## Ensure that $subdir contains a subdirs.el file. +write_subdir=if [ -f $${subdir}/subdirs.el ]; \ + then true; \ + else \ + (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ + echo " (normal-top-level-add-subdirs-to-load-path))") \ + > $${subdir}/subdirs.el; \ + fi; \ + chmod a+r $${subdir}/subdirs.el + ### Install the executables that were compiled specifically for this machine. ### It would be nice to do something for a parallel make ### to ensure that install-arch-indep finishes before this starts. @@ -517,16 +527,6 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \ ## Note that the Makefiles in the etc directory are potentially useful ## in an installed Emacs, so should not be excluded. -## Ensure that $subdir contains a subdirs.el file. -write_subdir=if [ -f $${subdir}/subdirs.el ]; \ - then true; \ - else \ - (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ - echo " (normal-top-level-add-subdirs-to-load-path))") \ - > $${subdir}/subdirs.el; \ - fi; \ - chmod a+r $${subdir}/subdirs.el - install-arch-indep: mkdir info install-etc -set ${COPYDESTS} ; \ unset CDPATH; \ -- 2.39.2