diff options
| author | Eric S. Raymond | 1993-03-19 08:08:04 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-03-19 08:08:04 +0000 |
| commit | 7b9cd64c8bddc083cc59a4291f1d3b85b64800c7 (patch) | |
| tree | ca6a97ff15778b9c8dc6270bd28d0df994f4d66b | |
| parent | 41f86d5a05793b6d75cdca8b1d5c35e048750ca9 (diff) | |
| download | emacs-7b9cd64c8bddc083cc59a4291f1d3b85b64800c7.tar.gz emacs-7b9cd64c8bddc083cc59a4291f1d3b85b64800c7.zip | |
Corrected typo, fixed it to discard = and TAGS files in some cases where it
should but didn't seen to.
| -rwxr-xr-x | make-dist | 34 |
1 files changed, 20 insertions, 14 deletions
| @@ -33,8 +33,8 @@ while [ $# -gt 0 ]; do | |||
| 33 | clean_up=no | 33 | clean_up=no |
| 34 | ;; | 34 | ;; |
| 35 | ## This option tells make-dist to make the distribution normally, then | 35 | ## This option tells make-dist to make the distribution normally, then |
| 36 | ## remove all files newer than the given timestamp file. This is useful | 36 | ## remove all files older 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_extension=".new" | 40 | new_extension=".new" |
| @@ -115,7 +115,7 @@ for subdir in lisp lisp/calc-2.02 lisp/term local-lisp \ | |||
| 115 | done | 115 | done |
| 116 | 116 | ||
| 117 | echo "Making links to \`lisp'." | 117 | echo "Making links to \`lisp'." |
| 118 | ### Don't distribute =*.el files, site-init.el, site-load.el, or default.el. | 118 | ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. |
| 119 | (cd lisp | 119 | (cd lisp |
| 120 | ln [a-zA-Z]*.el ../${tempdir}/lisp | 120 | ln [a-zA-Z]*.el ../${tempdir}/lisp |
| 121 | ln [a-zA-Z]*.elc ../${tempdir}/lisp | 121 | ln [a-zA-Z]*.elc ../${tempdir}/lisp |
| @@ -123,37 +123,40 @@ echo "Making links to \`lisp'." | |||
| 123 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp | 123 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp |
| 124 | ln ChangeLog README ../${tempdir}/lisp | 124 | ln ChangeLog README ../${tempdir}/lisp |
| 125 | cd ../${tempdir}/lisp | 125 | cd ../${tempdir}/lisp |
| 126 | rm -f TAGS =* | ||
| 126 | rm -f site-init site-init.el site-init.elc | 127 | rm -f site-init site-init.el site-init.elc |
| 127 | rm -f site-load site-load.el site-load.elc | 128 | rm -f site-load site-load.el site-load.elc |
| 128 | rm -f default default.el default.elc) | 129 | rm -f default default.el default.elc) |
| 129 | 130 | ||
| 130 | echo "Making links to \`lisp/calc-2.02'." | 131 | echo "Making links to \`lisp/calc-2.02'." |
| 131 | ### Don't distribute =*.el files or backups. | 132 | ### Don't distribute =*.el files, TAGS or backups. |
| 132 | (cd lisp/calc-2.02 | 133 | (cd lisp/calc-2.02 |
| 133 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/calc-2.02 | 134 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/calc-2.02 |
| 134 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/calc-2.02 | 135 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/calc-2.02 |
| 135 | ln calc.info* calc.texinfo calc-refcard.* ../../${tempdir}/lisp/calc-2.02 | 136 | ln calc.info* calc.texinfo calc-refcard.* ../../${tempdir}/lisp/calc-2.02 |
| 136 | ln INSTALL Makefile README README.prev ../../${tempdir}/lisp/calc-2.02 | 137 | ln INSTALL Makefile README README.prev ../../${tempdir}/lisp/calc-2.02 |
| 137 | cd ../../${tempdir}/lisp/calc-2.02 | 138 | cd ../../${tempdir}/lisp/calc-2.02 |
| 138 | rm -f *~) | 139 | rm -f *~ TAGS) |
| 139 | 140 | ||
| 140 | echo "Making links to \`lisp/term'." | 141 | echo "Making links to \`lisp/term'." |
| 141 | ### Don't distribute =*.el files. | 142 | ### Don't distribute =*.el files or TAGS. |
| 142 | (cd lisp/term | 143 | (cd lisp/term |
| 143 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/term | 144 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/term |
| 144 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/term | 145 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/term |
| 145 | ln README ../../${tempdir}/lisp/term) | 146 | ln README ../../${tempdir}/lisp/term |
| 147 | rm -f =* TAGS) | ||
| 146 | 148 | ||
| 147 | ### echo "Making links to \`external-lisp'." | 149 | ### echo "Making links to \`external-lisp'." |
| 148 | ### ### Don't distribute =*.el files. | 150 | ### ### Don't distribute =*.el files or TAGS. |
| 149 | ### (cd external-lisp | 151 | ### (cd external-lisp |
| 150 | ### ln [a-zA-Z]*.el ../${tempdir}/external-lisp | 152 | ### ln [a-zA-Z]*.el ../${tempdir}/external-lisp |
| 151 | ### ln [a-zA-Z]*.elc ../${tempdir}/external-lisp | 153 | ### ln [a-zA-Z]*.elc ../${tempdir}/external-lisp |
| 152 | ### ln ChangeLog README ../${tempdir}/external-lisp) | 154 | ### ln ChangeLog README ../${tempdir}/external-lisp |
| 155 | ### rm -f =* TAGS) | ||
| 153 | 156 | ||
| 154 | echo "Making links to \`src'." | 157 | echo "Making links to \`src'." |
| 155 | ### Don't distribute =*.[ch] files, or the configured versions of | 158 | ### Don't distribute =*.[ch] files, or the configured versions of |
| 156 | ### config.h.in, paths.h.in, or Makefile.in. | 159 | ### config.h.in, paths.h.in, or Makefile.in, or TAGS. |
| 157 | (cd src | 160 | (cd src |
| 158 | echo " (If we can't link gmalloc.c, that's okay.)" | 161 | echo " (If we can't link gmalloc.c, that's okay.)" |
| 159 | ln [a-zA-Z]*.c ../${tempdir}/src | 162 | ln [a-zA-Z]*.c ../${tempdir}/src |
| @@ -169,7 +172,8 @@ echo "Making links to \`src'." | |||
| 169 | rm -f config.h paths.h Makefile | 172 | rm -f config.h paths.h Makefile |
| 170 | if [ -z "${newer}" ]; then | 173 | if [ -z "${newer}" ]; then |
| 171 | etags *.h *.c ../lisp/*.el | 174 | etags *.h *.c ../lisp/*.el |
| 172 | fi) | 175 | fi |
| 176 | rm -f =* TAGS) | ||
| 173 | 177 | ||
| 174 | echo "Making links to \`src/bitmaps'." | 178 | echo "Making links to \`src/bitmaps'." |
| 175 | (cd src/bitmaps | 179 | (cd src/bitmaps |
| @@ -189,7 +193,8 @@ echo "Making links to \`lib-src'." | |||
| 189 | ln ChangeLog Makefile.in README testfile vcdiff rcs2log ../${tempdir}/lib-src | 193 | ln ChangeLog Makefile.in README testfile vcdiff rcs2log ../${tempdir}/lib-src |
| 190 | ln emacs.csh ../${tempdir}/lib-src | 194 | ln emacs.csh ../${tempdir}/lib-src |
| 191 | cd ../${tempdir}/lib-src | 195 | cd ../${tempdir}/lib-src |
| 192 | rm -f getdate.c getdate.tab.c y.tab.c y.tab.h) | 196 | rm -f getdate.c getdate.tab.c y.tab.c y.tab.h |
| 197 | rm -f =* TAGS) | ||
| 193 | 198 | ||
| 194 | echo "Making links to \`oldXMenu'." | 199 | echo "Making links to \`oldXMenu'." |
| 195 | (cd oldXMenu | 200 | (cd oldXMenu |
| @@ -197,11 +202,12 @@ echo "Making links to \`oldXMenu'." | |||
| 197 | ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu) | 202 | ln README Makefile Imakefile ChangeLog ../${tempdir}/oldXMenu) |
| 198 | 203 | ||
| 199 | echo "Making links to \`etc'." | 204 | echo "Making links to \`etc'." |
| 200 | ### Don't distribute DOC files, backups, autosaves, or tex litter. | 205 | ### Don't distribute = files, TAGS, DOC files, backups, autosaves, or tex litter. |
| 201 | (cd etc | 206 | (cd etc |
| 202 | ln [0-9a-zA-Z]* ../${tempdir}/etc | 207 | ln [0-9a-zA-Z]* ../${tempdir}/etc |
| 203 | cd ../${tempdir}/etc | 208 | cd ../${tempdir}/etc |
| 204 | rm -f DOC* *~ \#*\# *.dvi *.log *,v core) | 209 | rm -f DOC* *~ \#*\# *.dvi *.log *,v core |
| 210 | rm -f =* TAGS) | ||
| 205 | 211 | ||
| 206 | echo "Making links to \`cpp'." | 212 | echo "Making links to \`cpp'." |
| 207 | (cd cpp | 213 | (cd cpp |