From: Paul Eggert Date: Fri, 14 Jan 2011 18:56:58 +0000 (-0800) Subject: * make-dist: Distribute test/ files too. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~232^2^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f4b8b4732b3fa386da6cf009c828e8153b78275;p=emacs.git * make-dist: Distribute test/ files too. Distribute every file under test/ that is under version control, using patterns like *.el to capture files that are added later. Without this change, "configure" would fail, because it would attempt to build from a Makefile.in that was not distributed. --- diff --git a/ChangeLog b/ChangeLog index 00cfbdfb2ca..8ec19dd371f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-01-14 Paul Eggert + + * make-dist: Distribute test/ files too. + Distribute every file under test/ that is under version control, + using patterns like *.el to capture files that are added later. + Without this change, "configure" would fail, because it would + attempt to build from a Makefile.in that was not distributed. + 2011-01-13 Christian Ohler * Makefile.in (INFO_FILES): Add ERT. diff --git a/make-dist b/make-dist index 88a307d7ca1..b24c96b2003 100755 --- a/make-dist +++ b/make-dist @@ -295,6 +295,7 @@ for subdir in site-lisp \ nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \ `find etc lisp -type d` \ doc doc/emacs doc/misc doc/man doc/lispref doc/lispintro \ + test test/automated test/cedet test/cedet/tests test/indent \ info m4 msdos \ nextstep nextstep/Cocoa nextstep/Cocoa/Emacs.base \ nextstep/Cocoa/Emacs.base/Contents \ @@ -474,6 +475,26 @@ echo "Making links to \`doc/man'" ln ChangeLog* *.1 ../../${tempdir}/doc/man cd ../../${tempdir}/doc/man) +echo "Making links to \`test'" +(cd test + ln *.el ChangeLog README ../${tempdir}/test) + +echo "Making links to \`test/automated'" +(cd test/automated + ln *.el Makefile.in ../../${tempdir}/test/automated) + +echo "Making links to \`test/cedet'" +(cd test/cedet + ln *.el ../../${tempdir}/test/cedet) + +echo "Making links to \`test/cedet/tests'" +(cd test/cedet/tests + ln *.c *.[ch]pp *.el *.hh *.java *.make ../../../${tempdir}/test/cedet/tests) + +echo "Making links to \`test/indent'" +(cd test/indent + ln *.m *.mod *.prolog Makefile ../../${tempdir}/test/indent) + ### It would be nice if they could all be symlinks to top-level copy, but ### you're not supposed to have any symlinks in distribution tar files. echo "Making sure copying notices are all copies of \`COPYING'"