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:
parent
05f3d308da
commit
53a84f3c9e
20
Makefile.in
20
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; \
|
||||
|
Loading…
Reference in New Issue
Block a user