diff options
| author | Richard M. Stallman | 1997-04-30 17:30:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-30 17:30:47 +0000 |
| commit | 67ffab69bd46f4870f1b01c771cb9f5b0293661a (patch) | |
| tree | 5cbefc547c20cfdcacd7c82e21471a76e8161e7f | |
| parent | e0903a92eaaf1fbac37eeb92e4c44c35e9f3ea17 (diff) | |
| download | emacs-67ffab69bd46f4870f1b01c771cb9f5b0293661a.tar.gz emacs-67ffab69bd46f4870f1b01c771cb9f5b0293661a.zip | |
Handle all subdirs of `lisp' uniformly.
Don't handle `term' and `language' specially.
Clear out umask at the beginning.
| -rwxr-xr-x | make-dist | 70 |
1 files changed, 36 insertions, 34 deletions
| @@ -33,6 +33,9 @@ progname="$0" | |||
| 33 | ### Print out each line we read, for debugging's sake. | 33 | ### Print out each line we read, for debugging's sake. |
| 34 | ### set -v | 34 | ### set -v |
| 35 | 35 | ||
| 36 | ## Don't protect any files. | ||
| 37 | umask 0 | ||
| 38 | |||
| 36 | update=yes | 39 | update=yes |
| 37 | clean_up=no | 40 | clean_up=no |
| 38 | make_tar=no | 41 | make_tar=no |
| @@ -172,7 +175,7 @@ then | |||
| 172 | 175 | ||
| 173 | echo "Updating finder-inf.el" | 176 | echo "Updating finder-inf.el" |
| 174 | 177 | ||
| 175 | (cd lisp; make finder-inf.el)) | 178 | (cd lisp; make finder-inf.el) |
| 176 | 179 | ||
| 177 | echo "Recompiling Lisp files" | 180 | echo "Recompiling Lisp files" |
| 178 | 181 | ||
| @@ -229,14 +232,14 @@ echo "Updating version number in README" | |||
| 229 | 232 | ||
| 230 | 233 | ||
| 231 | echo "Creating subdirectories" | 234 | echo "Creating subdirectories" |
| 232 | for subdir in lisp lisp/term lisp/language site-lisp \ | 235 | for subdir in lisp site-lisp \ |
| 233 | src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ | 236 | src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ |
| 234 | nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet \ | 237 | nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet \ |
| 235 | etc etc/e lock cpp info man msdos vms; do | 238 | etc etc/e lock cpp info man msdos vms; do |
| 236 | mkdir ${tempdir}/${subdir} | 239 | mkdir ${tempdir}/${subdir} |
| 237 | done | 240 | done |
| 238 | 241 | ||
| 239 | echo "Making links to \`lisp'" | 242 | echo "Making links to \`lisp' and its subdirectories" |
| 240 | ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. | 243 | ### Don't distribute TAGS, =*.el files, site-init.el, site-load.el, or default.el. |
| 241 | (cd lisp | 244 | (cd lisp |
| 242 | ln [a-zA-Z]*.el ../${tempdir}/lisp | 245 | ln [a-zA-Z]*.el ../${tempdir}/lisp |
| @@ -245,38 +248,37 @@ echo "Making links to \`lisp'" | |||
| 245 | ## simula.el doesn't keep abbreviations in simula.defns any more. | 248 | ## simula.el doesn't keep abbreviations in simula.defns any more. |
| 246 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp | 249 | ## ln [a-zA-Z]*.defns ../${tempdir}/lisp |
| 247 | ln ChangeLog Makefile makefile.nt ChangeLog.? README ../${tempdir}/lisp | 250 | ln ChangeLog Makefile makefile.nt ChangeLog.? README ../${tempdir}/lisp |
| 248 | cd ../${tempdir}/lisp | 251 | (cd ../${tempdir}/lisp |
| 249 | rm -f TAGS =* | 252 | rm -f TAGS =* |
| 250 | rm -f subdirs.el | 253 | rm -f site-init site-init.el site-init.elc |
| 251 | rm -f site-init site-init.el site-init.elc | 254 | rm -f site-load site-load.el site-load.elc |
| 252 | rm -f site-load site-load.el site-load.elc | 255 | rm -f site-start site-start.el site-start.elc |
| 253 | rm -f site-start site-start.el site-start.elc | 256 | rm -f default default.el default.elc |
| 254 | rm -f default default.el default.elc) | 257 | ) |
| 255 | 258 | ||
| 256 | #echo "Making links to \`lisp/calc-2.02'" | 259 | ## Find all subdirs of lisp dir |
| 257 | #### Don't distribute =*.el files, TAGS or backups. | 260 | for file in `find . -type d -print`; do |
| 258 | #(cd lisp/calc-2.02 | 261 | case $file in |
| 259 | # ln [a-zA-Z]*.el ../../${tempdir}/lisp/calc-2.02 | 262 | . | .. | */Old | */RCS) |
| 260 | # ln [a-zA-Z]*.elc ../../${tempdir}/lisp/calc-2.02 | 263 | ;; |
| 261 | # ln calc.info* calc.texinfo calc-refcard.* ../../${tempdir}/lisp/calc-2.02 | 264 | *) |
| 262 | # ln INSTALL Makefile README README.prev ../../${tempdir}/lisp/calc-2.02 | 265 | if [ -d $file ]; then |
| 263 | # cd ../../${tempdir}/lisp/calc-2.02 | 266 | subdirs="$file $subdirs" |
| 264 | # rm -f *~ TAGS) | 267 | fi |
| 265 | 268 | ;; | |
| 266 | echo "Making links to \`lisp/term'" | 269 | esac |
| 267 | ### Don't distribute =*.el files or TAGS. | 270 | done |
| 268 | (cd lisp/term | ||
| 269 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/term | ||
| 270 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/term | ||
| 271 | ln README ../../${tempdir}/lisp/term | ||
| 272 | rm -f =* TAGS) | ||
| 273 | 271 | ||
| 274 | echo "Making links to \`lisp/term'" | 272 | for file in $subdirs; do |
| 275 | ### Don't distribute =*.el files or TAGS. | 273 | echo " lisp/$file" |
| 276 | (cd lisp/language | 274 | mkdir ../${tempdir}/lisp/$file |
| 277 | ln [a-zA-Z]*.el ../../${tempdir}/lisp/language | 275 | ln $file/[a-zA-Z]*.el ../${tempdir}/lisp/$file |
| 278 | ln [a-zA-Z]*.elc ../../${tempdir}/lisp/language | 276 | ln $file/[a-zA-Z]*.elc ../${tempdir}/lisp/$file |
| 279 | rm -f =* TAGS) | 277 | if [ -f $file/README ]; then |
| 278 | ln $file/README ../${tempdir}/lisp/$file | ||
| 279 | fi | ||
| 280 | rm -f $file/=* $file/TAGS | ||
| 281 | done ) | ||
| 280 | 282 | ||
| 281 | echo "Making links to \`src'" | 283 | echo "Making links to \`src'" |
| 282 | ### Don't distribute =*.[ch] files, or the configured versions of | 284 | ### Don't distribute =*.[ch] files, or the configured versions of |