diff options
| author | Jim Blandy | 1992-08-19 03:54:51 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-08-19 03:54:51 +0000 |
| commit | ef15f270dbada67b43f58cc26056fb7efe083ceb (patch) | |
| tree | 31a6893cbd6f878b0d86abcb6c34efa536a5bdda /make-dist | |
| parent | fbfed6f05fdf5bf363ca5691aefde4d573ce8203 (diff) | |
| download | emacs-ef15f270dbada67b43f58cc26056fb7efe083ceb.tar.gz emacs-ef15f270dbada67b43f58cc26056fb7efe083ceb.zip | |
*** empty log message ***
Diffstat (limited to 'make-dist')
| -rwxr-xr-x | make-dist | 20 |
1 files changed, 12 insertions, 8 deletions
| @@ -36,8 +36,8 @@ while [ $# -gt 0 ]; do | |||
| 36 | # remove all files newer than the given timestamp file. This is useful | 36 | # remove all files newer than the given timestamp file. This is useful |
| 37 | # for creating incremental or patch distributions | 37 | # for creating incremental or patch distributions |
| 38 | "--newer") | 38 | "--newer") |
| 39 | newer=$2 | 39 | newer="$2" |
| 40 | new=.new | 40 | new_extension=".new" |
| 41 | shift | 41 | shift |
| 42 | ;; | 42 | ;; |
| 43 | * ) | 43 | * ) |
| @@ -77,7 +77,7 @@ fi | |||
| 77 | 77 | ||
| 78 | echo "Creating staging directory: \`${tempparent}'" | 78 | echo "Creating staging directory: \`${tempparent}'" |
| 79 | mkdir ${tempparent} | 79 | mkdir ${tempparent} |
| 80 | emacsname="emacs-${version}${new}" | 80 | emacsname="emacs-${version}${new_extension}" |
| 81 | tempdir="${tempparent}/${emacsname}" | 81 | tempdir="${tempparent}/${emacsname}" |
| 82 | 82 | ||
| 83 | # This trap ensures that the staging directory will be cleaned up even | 83 | # This trap ensures that the staging directory will be cleaned up even |
| @@ -105,7 +105,7 @@ for subdir in lisp lisp/term local-lisp external-lisp \ | |||
| 105 | done | 105 | done |
| 106 | 106 | ||
| 107 | echo "Making links to \`lisp'." | 107 | echo "Making links to \`lisp'." |
| 108 | # Don't distribute =*.el files, site-init.el, or site-load.el. | 108 | # Don't distribute =*.el files, site-init.el, site-load.el, or default.el. |
| 109 | (cd lisp | 109 | (cd lisp |
| 110 | ln [a-zA-Z]*.el ../${tempdir}/lisp | 110 | ln [a-zA-Z]*.el ../${tempdir}/lisp |
| 111 | ln [a-zA-Z]*.elc ../${tempdir}/lisp | 111 | ln [a-zA-Z]*.elc ../${tempdir}/lisp |
| @@ -114,7 +114,8 @@ echo "Making links to \`lisp'." | |||
| 114 | ln ChangeLog README ../${tempdir}/lisp | 114 | ln ChangeLog README ../${tempdir}/lisp |
| 115 | cd ../${tempdir}/lisp | 115 | cd ../${tempdir}/lisp |
| 116 | rm -f site-init site-init.el site-init.elc | 116 | rm -f site-init site-init.el site-init.elc |
| 117 | rm -f site-load site-load.el site-load.elc) | 117 | rm -f site-load site-load.el site-load.elc |
| 118 | rm -f default default.el default.elc) | ||
| 118 | 119 | ||
| 119 | echo "Making links to \`lisp/term'." | 120 | echo "Making links to \`lisp/term'." |
| 120 | # Don't distribute =*.el files. | 121 | # Don't distribute =*.el files. |
| @@ -142,7 +143,10 @@ echo "Making links to \`src'." | |||
| 142 | ln .gdbinit .dbxinit ../${tempdir}/src | 143 | ln .gdbinit .dbxinit ../${tempdir}/src |
| 143 | ln *.com *.opt vms-pp.trans vmsbuild ../${tempdir}/src | 144 | ln *.com *.opt vms-pp.trans vmsbuild ../${tempdir}/src |
| 144 | cd ../${tempdir}/src | 145 | cd ../${tempdir}/src |
| 145 | rm -f config.h paths.h Makefile) | 146 | rm -f config.h paths.h Makefile |
| 147 | if [ -z "${newer}" ]; then | ||
| 148 | etags *.h *.c ../lisp/*.el | ||
| 149 | fi) | ||
| 146 | 150 | ||
| 147 | echo "Making links to \`src/m'." | 151 | echo "Making links to \`src/m'." |
| 148 | (cd src/m | 152 | (cd src/m |
| @@ -165,7 +169,7 @@ echo "Making links to \`oldXMenu'." | |||
| 165 | ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu) | 169 | ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu) |
| 166 | 170 | ||
| 167 | echo "Making links to \`etc'." | 171 | echo "Making links to \`etc'." |
| 168 | # Don't distribute TAGS, DOC files, backups, autosaves, or tex litter. | 172 | # Don't distribute DOC files, backups, autosaves, or tex litter. |
| 169 | (cd etc | 173 | (cd etc |
| 170 | ln [0-9a-zA-Z]* ../${tempdir}/etc | 174 | ln [0-9a-zA-Z]* ../${tempdir}/etc |
| 171 | cd ../${tempdir}/etc | 175 | cd ../${tempdir}/etc |
| @@ -173,7 +177,7 @@ echo "Making links to \`etc'." | |||
| 173 | for dummy in DOC-dummy dummy~ \#dummy\# dummy.dvi dummy.log; do | 177 | for dummy in DOC-dummy dummy~ \#dummy\# dummy.dvi dummy.log; do |
| 174 | ln MACHINES ${dummy} | 178 | ln MACHINES ${dummy} |
| 175 | done | 179 | done |
| 176 | rm -f TAGS DOC* *~ \#*\# *.dvi *.log core) | 180 | rm -f DOC* *~ \#*\# *.dvi *.log core) |
| 177 | 181 | ||
| 178 | # For now, we comment these out, since I'm not changing them any. | 182 | # For now, we comment these out, since I'm not changing them any. |
| 179 | #!! echo "Making links to \`cpp'." | 183 | #!! echo "Making links to \`cpp'." |