diff options
| -rw-r--r-- | GNUmakefile | 7 | ||||
| -rw-r--r-- | README | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index 98d31f4afcb..304a7b34f38 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
| @@ -62,13 +62,10 @@ default $(ORDINARY_GOALS): Makefile | |||
| 62 | # Execute in sequence, so that multiple user goals don't conflict. | 62 | # Execute in sequence, so that multiple user goals don't conflict. |
| 63 | .NOTPARALLEL: | 63 | .NOTPARALLEL: |
| 64 | 64 | ||
| 65 | # 'all' if a .git subdirectory is present, empty otherwise. | ||
| 66 | ALL_IF_GIT = $(subst .git,all,$(wildcard .git)) | ||
| 67 | |||
| 68 | configure: | 65 | configure: |
| 69 | @echo >&2 'There seems to be no "configure" file in this directory.' | 66 | @echo >&2 'There seems to be no "configure" file in this directory.' |
| 70 | @echo >&2 Running ./autogen.sh $(ALL_IF_GIT) ... | 67 | @echo >&2 Running ./autogen.sh ... |
| 71 | ./autogen.sh $(ALL_IF_GIT) | 68 | ./autogen.sh |
| 72 | @echo >&2 '"configure" file built.' | 69 | @echo >&2 '"configure" file built.' |
| 73 | 70 | ||
| 74 | Makefile: configure | 71 | Makefile: configure |
| @@ -45,7 +45,8 @@ The file 'configure.ac' is the input used by the autoconf program to | |||
| 45 | construct the 'configure' script. | 45 | construct the 'configure' script. |
| 46 | 46 | ||
| 47 | The shell script 'autogen.sh' generates 'configure' and other files by | 47 | The shell script 'autogen.sh' generates 'configure' and other files by |
| 48 | running Autoconf, which in turn uses GNU m4. If you want to use it, | 48 | running Autoconf (which in turn uses GNU m4), and configures files in |
| 49 | the .git subdirectory if you are using Git. If you want to use it, | ||
| 49 | you will need to install recent versions of these build tools. This | 50 | you will need to install recent versions of these build tools. This |
| 50 | should be needed only if you edit files like 'configure.ac' that | 51 | should be needed only if you edit files like 'configure.ac' that |
| 51 | specify Emacs's autobuild procedure. | 52 | specify Emacs's autobuild procedure. |