comparison make-dist @ 112302:c428fb33aede

Automate syncing from gnulib.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 08 Jan 2011 13:02:38 -0800
parents 2e087a5593f8
children 1bd15f32eeb7
comparison
equal deleted inserted replaced
112164:afa244de82cd 112302:c428fb33aede
284 echo "Making links to top-level files" 284 echo "Making links to top-level files"
285 ln INSTALL README BUGS move-if-change ${tempdir} 285 ln INSTALL README BUGS move-if-change ${tempdir}
286 ln ChangeLog Makefile.in configure configure.in ${tempdir} 286 ln ChangeLog Makefile.in configure configure.in ${tempdir}
287 ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir} 287 ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir}
288 ln mkinstalldirs config.sub config.guess install-sh ${tempdir} 288 ln mkinstalldirs config.sub config.guess install-sh ${tempdir}
289 ln aclocal.m4 ${tempdir}
290 ln compile depcomp missing ${tempdir}
289 291
290 echo "Creating subdirectories" 292 echo "Creating subdirectories"
291 for subdir in site-lisp \ 293 for subdir in site-lisp \
292 leim leim/CXTERM-DIC leim/MISC-DIC \ 294 leim leim/CXTERM-DIC leim/MISC-DIC \
293 leim/SKK-DIC leim/ja-dic leim/quail \ 295 leim/SKK-DIC leim/ja-dic leim/quail \
294 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ 296 src src/m src/s src/bitmaps lib lib-src oldXMenu lwlib \
295 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ 297 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
296 `find etc lisp -type d` \ 298 `find etc lisp -type d` \
297 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \ 299 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
298 info m4 msdos \ 300 info m4 msdos \
299 nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \ 301 nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \
366 368
367 echo "Making links to \`src/s'" 369 echo "Making links to \`src/s'"
368 (cd src/s 370 (cd src/s
369 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s) 371 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s)
370 372
373 echo "Making links to \`lib'"
374 (build_aux_h=`(ls *.h)`
375 cd lib
376 ln [a-zA-Z]*.[ch] ../${tempdir}/lib
377 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib
378 cd ../${tempdir}/lib
379 rm -f `(echo "$build_aux_h"; ls *.in.h) | sed '/[*]/d; s/.in.h$/.h/'`)
380
371 echo "Making links to \`lib-src'" 381 echo "Making links to \`lib-src'"
372 (cd lib-src 382 (cd lib-src
373 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src 383 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src
374 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src 384 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src
375 ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src 385 ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src
475 cd ../../${tempdir}/doc/man) 485 cd ../../${tempdir}/doc/man)
476 486
477 ### It would be nice if they could all be symlinks to top-level copy, but 487 ### It would be nice if they could all be symlinks to top-level copy, but
478 ### you're not supposed to have any symlinks in distribution tar files. 488 ### you're not supposed to have any symlinks in distribution tar files.
479 echo "Making sure copying notices are all copies of \`COPYING'" 489 echo "Making sure copying notices are all copies of \`COPYING'"
480 for subdir in . etc info leim lib-src lisp lwlib msdos nt src; do 490 for subdir in . etc info leim lib lib-src lisp lwlib msdos nt src; do
481 rm -f ${tempdir}/${subdir}/COPYING 491 rm -f ${tempdir}/${subdir}/COPYING
482 cp COPYING ${tempdir}/${subdir} 492 cp COPYING ${tempdir}/${subdir}
483 done 493 done
484 494
485 if [ "${newer}" ]; then 495 if [ "${newer}" ]; then