diff options
| author | Jim Blandy | 1993-05-22 21:25:01 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-22 21:25:01 +0000 |
| commit | f753e9aa9233cffe70cc7fde602b6078a1433d08 (patch) | |
| tree | 0b93eb7f9868bcbc7d100ce81f96a30e9a6fcaa7 | |
| parent | 5116f055a58d5ed67220b27e17bb782b69c43a1e (diff) | |
| download | emacs-f753e9aa9233cffe70cc7fde602b6078a1433d08.tar.gz emacs-f753e9aa9233cffe70cc7fde602b6078a1433d08.zip | |
* make-dist: Check that the manual reflects the same version of
Emacs as stated in lisp/version.el. Edit that version number into
the README file.
| -rwxr-xr-x | make-dist | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -69,6 +69,13 @@ if [ ! "${version}" ]; then | |||
| 69 | exit 1 | 69 | exit 1 |
| 70 | fi | 70 | fi |
| 71 | 71 | ||
| 72 | if grep -s "GNU Emacs version ${version}" ./man/emacs.texi > /dev/null; then | ||
| 73 | true | ||
| 74 | else | ||
| 75 | echo "You must update the version number in \`./man/emacs.texi'" | ||
| 76 | exit 1 | ||
| 77 | fi | ||
| 78 | |||
| 72 | ### Make sure the subdirectory is available. | 79 | ### Make sure the subdirectory is available. |
| 73 | tempparent="make-dist.tmp.$$" | 80 | tempparent="make-dist.tmp.$$" |
| 74 | if [ -d ${tempparent} ]; then | 81 | if [ -d ${tempparent} ]; then |
| @@ -105,6 +112,15 @@ ln make-dist ${tempdir} | |||
| 105 | ### Copy config.sub; it's a cross-filesystem symlink. | 112 | ### Copy config.sub; it's a cross-filesystem symlink. |
| 106 | cp config.sub ${tempdir} | 113 | cp config.sub ${tempdir} |
| 107 | 114 | ||
| 115 | echo "Updating version number in README." | ||
| 116 | (cd ${tempdir} | ||
| 117 | awk \ | ||
| 118 | '$1 " " $2 " " $3 " " $4 " " $5 == "This directory tree holds version" { $6 = version; print $0 } | ||
| 119 | $1 " " $2 " " $3 " " $4 " " $5 != "This directory tree holds version"' \ | ||
| 120 | version=${version} README > tmp.README | ||
| 121 | mv tmp.README README) | ||
| 122 | |||
| 123 | |||
| 108 | echo "Creating subdirectories." | 124 | echo "Creating subdirectories." |
| 109 | # I think we're not going to distribute anything in external-lisp, so | 125 | # I think we're not going to distribute anything in external-lisp, so |
| 110 | # I've removed it from this list. | 126 | # I've removed it from this list. |