diff options
| author | Richard M. Stallman | 1994-05-01 23:13:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-01 23:13:05 +0000 |
| commit | 0e0186f1e29d846237cc54cb569dd956bca698f0 (patch) | |
| tree | 748417c6287e2e95acb65e5aa823d0f36ee1cad6 | |
| parent | 02d95a278d988d0b53d2b4759f36860380348e65 (diff) | |
| download | emacs-0e0186f1e29d846237cc54cb569dd956bca698f0.tar.gz emacs-0e0186f1e29d846237cc54cb569dd956bca698f0.zip | |
Distribute config.bat.
| -rwxr-xr-x | make-dist | 16 |
1 files changed, 9 insertions, 7 deletions
| @@ -62,14 +62,16 @@ if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/version.el ]; then | |||
| 62 | fi | 62 | fi |
| 63 | 63 | ||
| 64 | ### Find out which version of Emacs this is. | 64 | ### Find out which version of Emacs this is. |
| 65 | version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ | 65 | shortversion=`grep 'defconst[ ]*emacs-version' lisp/version.el \ |
| 66 | | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` | 66 | | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` |
| 67 | version=`grep 'defconst[ ]*emacs-version' lisp/version.el \ | ||
| 68 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | ||
| 67 | if [ ! "${version}" ]; then | 69 | if [ ! "${version}" ]; then |
| 68 | echo "${progname}: can't find current emacs version in \`./lisp/version.el'." >&2 | 70 | echo "${progname}: can't find current Emacs version in \`./lisp/version.el'." >&2 |
| 69 | exit 1 | 71 | exit 1 |
| 70 | fi | 72 | fi |
| 71 | 73 | ||
| 72 | if grep -s "GNU Emacs version ${version}" ./man/emacs.texi > /dev/null; then | 74 | if grep -s "GNU Emacs version ${shortversion}" ./man/emacs.texi > /dev/null; then |
| 73 | true | 75 | true |
| 74 | else | 76 | else |
| 75 | echo "You must update the version number in \`./man/emacs.texi'" | 77 | echo "You must update the version number in \`./man/emacs.texi'" |
| @@ -115,7 +117,7 @@ if [ "x`ls -t configure configure.in | head -1`" != "xconfigure" ]; then | |||
| 115 | fi | 117 | fi |
| 116 | 118 | ||
| 117 | ### Update getdate.c. | 119 | ### Update getdate.c. |
| 118 | (cd lib-src; make -f Makefile.in getdate.c YACC="bison -y") | 120 | (cd lib-src; make -f Makefile getdate.c YACC="bison -y") |
| 119 | 121 | ||
| 120 | echo "Creating staging directory: \`${tempparent}'" | 122 | echo "Creating staging directory: \`${tempparent}'" |
| 121 | 123 | ||
| @@ -138,7 +140,7 @@ mkdir ${tempdir} | |||
| 138 | echo "Making links to top-level files." | 140 | echo "Making links to top-level files." |
| 139 | ln GETTING.GNU.SOFTWARE INSTALL PROBLEMS README move-if-change ${tempdir} | 141 | ln GETTING.GNU.SOFTWARE INSTALL PROBLEMS README move-if-change ${tempdir} |
| 140 | ln ChangeLog Makefile.in build-ins.in configure configure.in ${tempdir} | 142 | ln ChangeLog Makefile.in build-ins.in configure configure.in ${tempdir} |
| 141 | ln make-dist vpath.sed ${tempdir} | 143 | ln config.bat make-dist vpath.sed ${tempdir} |
| 142 | ### Copy these files; they're cross-filesystem symlinks. | 144 | ### Copy these files; they're cross-filesystem symlinks. |
| 143 | cp config.sub ${tempdir} | 145 | cp config.sub ${tempdir} |
| 144 | cp config.guess ${tempdir} | 146 | cp config.guess ${tempdir} |
| @@ -236,8 +238,8 @@ echo "Making links to \`src/s'." | |||
| 236 | echo "Making links to \`lib-src'." | 238 | echo "Making links to \`lib-src'." |
| 237 | (cd lib-src | 239 | (cd lib-src |
| 238 | ln [a-zA-Z]*.[chy] [a-zA-Z]*.lex ../${tempdir}/lib-src | 240 | ln [a-zA-Z]*.[chy] [a-zA-Z]*.lex ../${tempdir}/lib-src |
| 239 | ln ChangeLog Makefile.in README testfile vcdiff rcs2log ../${tempdir}/lib-src | 241 | ln ChangeLog Makefile.in.in README testfile vcdiff ../${tempdir}/lib-src |
| 240 | ln emacs.csh rcs-checkin ../${tempdir}/lib-src | 242 | ln emacs.csh rcs2log rcs-checkin ../${tempdir}/lib-src |
| 241 | cd ../${tempdir}/lib-src | 243 | cd ../${tempdir}/lib-src |
| 242 | rm -f getdate.tab.c y.tab.c y.tab.h | 244 | rm -f getdate.tab.c y.tab.c y.tab.h |
| 243 | rm -f =* TAGS) | 245 | rm -f =* TAGS) |