]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (write_subdir): Move definition before use.
authorGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 18:38:20 +0000 (14:38 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 18:38:20 +0000 (14:38 -0400)
Makefile.in

index 0f5ec8a0c7cae63d055a128d55e42687ce37af69..d409bce88a73f7a86982dae1131947af90dfc5fa 100644 (file)
@@ -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; \