aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorPaul Eggert2011-01-08 13:02:38 -0800
committerPaul Eggert2011-01-08 13:02:38 -0800
commit9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4 (patch)
tree1eee202635acdcbf6871101a2af8f67cd4683b1c /make-dist
parent278f68456b8c25fff6d2274476cdc8ee3609f68b (diff)
downloademacs-9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4.tar.gz
emacs-9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4.zip
Automate syncing from gnulib.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist14
1 files changed, 12 insertions, 2 deletions
diff --git a/make-dist b/make-dist
index 3d610c1eee6..3f8ea55b3dc 100755
--- a/make-dist
+++ b/make-dist
@@ -286,12 +286,14 @@ ln INSTALL README BUGS move-if-change ${tempdir}
286ln ChangeLog Makefile.in configure configure.in ${tempdir} 286ln ChangeLog Makefile.in configure configure.in ${tempdir}
287ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir} 287ln config.bat make-dist update-subdirs vpath.sed .dir-locals.el ${tempdir}
288ln mkinstalldirs config.sub config.guess install-sh ${tempdir} 288ln mkinstalldirs config.sub config.guess install-sh ${tempdir}
289ln aclocal.m4 ${tempdir}
290ln compile depcomp missing ${tempdir}
289 291
290echo "Creating subdirectories" 292echo "Creating subdirectories"
291for subdir in site-lisp \ 293for 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 \
@@ -368,6 +370,14 @@ 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
373echo "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
371echo "Making links to \`lib-src'" 381echo "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
@@ -477,7 +487,7 @@ echo "Making links to \`doc/man'"
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.
479echo "Making sure copying notices are all copies of \`COPYING'" 489echo "Making sure copying notices are all copies of \`COPYING'"
480for subdir in . etc info leim lib-src lisp lwlib msdos nt src; do 490for 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}
483done 493done