From: Arnaud Giersch Date: Tue, 16 Apr 2013 08:56:34 +0000 (+0200) Subject: Slightly improve error message when check_dist_archive fails. X-Git-Tag: v3_9_90~418 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/943bf6851218435fed6e5f9e027795d8fa8f940d Slightly improve error message when check_dist_archive fails. Also add some words about "make distcheck" in README.coding. --- diff --git a/README.coding b/README.coding index 4183390cc8..35c9a55726 100644 --- a/README.coding +++ b/README.coding @@ -187,6 +187,10 @@ investigating the portability of the thing to windows. * Your commit message should follow the git habits, explained eg here: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html +* When you add/remove files, and/or make changes in the lists of files to build, + please check that "make distcheck" still succeeds. This is needed to ensure + that the generated archive is consistent. + * If you want to debug memory allocation problems, here are a few hints: - disable compiler optimizations, to have better backtraces; - disable the mallocators, or it will be hard to match malloc's with diff --git a/tools/check_dist_archive b/tools/check_dist_archive index 7937222119..53b1d1f4af 100755 --- a/tools/check_dist_archive +++ b/tools/check_dist_archive @@ -86,7 +86,13 @@ diffcmd() { echo "The archive looks good." else status=1 - echo "Some files are missing and/or unexpected in the archive." + cat <