1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

* Makefile.in (write_subdir): Move definition before use.

This commit is contained in:
Glenn Morris 2012-05-17 14:38:20 -04:00
parent 05f3d308da
commit 53a84f3c9e

View 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; \