diff options
| author | Glenn Morris | 2012-05-17 14:38:20 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-05-17 14:38:20 -0400 |
| commit | 53a84f3c9e044e03b40a9d5dfb21cb65b3bbe5f5 (patch) | |
| tree | f32f426c9b6edbd785d1aa2bcc802f791ec2d545 | |
| parent | 05f3d308da1b93a1fffbb6653c84da02334ff0b8 (diff) | |
| download | emacs-53a84f3c9e044e03b40a9d5dfb21cb65b3bbe5f5.tar.gz emacs-53a84f3c9e044e03b40a9d5dfb21cb65b3bbe5f5.zip | |
* Makefile.in (write_subdir): Move definition before use.
| -rw-r--r-- | Makefile.in | 20 |
1 files 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) | |||
| 456 | install: all install-arch-indep install-arch-dep install-leim blessmail | 456 | install: all install-arch-indep install-arch-dep install-leim blessmail |
| 457 | @true | 457 | @true |
| 458 | 458 | ||
| 459 | ## Ensure that $subdir contains a subdirs.el file. | ||
| 460 | write_subdir=if [ -f $${subdir}/subdirs.el ]; \ | ||
| 461 | then true; \ | ||
| 462 | else \ | ||
| 463 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | ||
| 464 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | ||
| 465 | > $${subdir}/subdirs.el; \ | ||
| 466 | fi; \ | ||
| 467 | chmod a+r $${subdir}/subdirs.el | ||
| 468 | |||
| 459 | ### Install the executables that were compiled specifically for this machine. | 469 | ### Install the executables that were compiled specifically for this machine. |
| 460 | ### It would be nice to do something for a parallel make | 470 | ### It would be nice to do something for a parallel make |
| 461 | ### to ensure that install-arch-indep finishes before this starts. | 471 | ### to ensure that install-arch-indep finishes before this starts. |
| @@ -517,16 +527,6 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \ | |||
| 517 | ## Note that the Makefiles in the etc directory are potentially useful | 527 | ## Note that the Makefiles in the etc directory are potentially useful |
| 518 | ## in an installed Emacs, so should not be excluded. | 528 | ## in an installed Emacs, so should not be excluded. |
| 519 | 529 | ||
| 520 | ## Ensure that $subdir contains a subdirs.el file. | ||
| 521 | write_subdir=if [ -f $${subdir}/subdirs.el ]; \ | ||
| 522 | then true; \ | ||
| 523 | else \ | ||
| 524 | (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \ | ||
| 525 | echo " (normal-top-level-add-subdirs-to-load-path))") \ | ||
| 526 | > $${subdir}/subdirs.el; \ | ||
| 527 | fi; \ | ||
| 528 | chmod a+r $${subdir}/subdirs.el | ||
| 529 | |||
| 530 | install-arch-indep: mkdir info install-etc | 530 | install-arch-indep: mkdir info install-etc |
| 531 | -set ${COPYDESTS} ; \ | 531 | -set ${COPYDESTS} ; \ |
| 532 | unset CDPATH; \ | 532 | unset CDPATH; \ |