comparison make-dist @ 112335:d3c691ea0839

Merge: Automate syncing from gnulib.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 17 Jan 2011 12:17:27 -0800
parents ba9f26694b92
children
comparison
equal deleted inserted replaced
112301:4249a8552faf 112335:d3c691ea0839
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}
291 ln arg-nonnull.h c++defs.h warn-on-use.h ${tempdir}
289 292
290 echo "Creating subdirectories" 293 echo "Creating subdirectories"
291 for subdir in site-lisp \ 294 for subdir in site-lisp \
292 leim leim/CXTERM-DIC leim/MISC-DIC \ 295 leim leim/CXTERM-DIC leim/MISC-DIC \
293 leim/SKK-DIC leim/ja-dic leim/quail \ 296 leim/SKK-DIC leim/ja-dic leim/quail \
294 src src/m src/s src/bitmaps lib-src oldXMenu lwlib \ 297 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 \ 298 nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
296 `find etc lisp -type d` \ 299 `find etc lisp -type d` \
297 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \ 300 doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \
298 test test/automated test/cedet test/cedet/tests test/indent \ 301 test test/automated test/cedet test/cedet/tests test/indent \
299 info m4 msdos \ 302 info m4 msdos \
367 370
368 echo "Making links to \`src/s'" 371 echo "Making links to \`src/s'"
369 (cd src/s 372 (cd src/s
370 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s) 373 ln README [a-zA-Z0-9]*.h ../../${tempdir}/src/s)
371 374
375 echo "Making links to \`lib'"
376 (build_aux_h=`(ls *.h)`
377 cd lib
378 ln [a-zA-Z]*.[ch] ../${tempdir}/lib
379 ln gnulib.mk Makefile.am Makefile.in ../${tempdir}/lib
380 cd ../${tempdir}/lib
381 rm -f `(echo "$build_aux_h"; ls *.in.h) | sed '/[*]/d; s/.in.h$/.h/'`)
382
372 echo "Making links to \`lib-src'" 383 echo "Making links to \`lib-src'"
373 (cd lib-src 384 (cd lib-src
374 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src 385 ln [a-zA-Z]*.[ch] ../${tempdir}/lib-src
375 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src 386 ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src
376 ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src 387 ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src
377 ln makefile.w32-in ../${tempdir}/lib-src 388 ln makefile.w32-in ../${tempdir}/lib-src)
378 cd ../${tempdir}/lib-src
379 rm -f getopt.h)
380 389
381 echo "Making links to \`m4'" 390 echo "Making links to \`m4'"
382 (cd m4 391 (cd m4
383 ln *.m4 ../${tempdir}/m4) 392 ln *.m4 ../${tempdir}/m4)
384 393
496 ln *.m *.mod *.prolog Makefile ../../${tempdir}/test/indent) 505 ln *.m *.mod *.prolog Makefile ../../${tempdir}/test/indent)
497 506
498 ### It would be nice if they could all be symlinks to top-level copy, but 507 ### It would be nice if they could all be symlinks to top-level copy, but
499 ### you're not supposed to have any symlinks in distribution tar files. 508 ### you're not supposed to have any symlinks in distribution tar files.
500 echo "Making sure copying notices are all copies of \`COPYING'" 509 echo "Making sure copying notices are all copies of \`COPYING'"
501 for subdir in . etc info leim lib-src lisp lwlib msdos nt src; do 510 for subdir in . etc info leim lib lib-src lisp lwlib msdos nt src; do
502 rm -f ${tempdir}/${subdir}/COPYING 511 rm -f ${tempdir}/${subdir}/COPYING
503 cp COPYING ${tempdir}/${subdir} 512 cp COPYING ${tempdir}/${subdir}
504 done 513 done
505 514
506 if [ "${newer}" ]; then 515 if [ "${newer}" ]; then