From ae98715aa2dabbcf79439f3d0fcafd8f6cd1dc9f Mon Sep 17 00:00:00 2001 From: johann Date: Tue, 15 Sep 2009 09:48:06 +0000 Subject: [PATCH] Branch b1_8 b=20550 i=adilger (patch from Brian) i=wangyb i=yangsheng This patch fixes the problem of make dist not creating a tree_status when the tree it's being run in is not from an sccs checkout. --- autoMakefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoMakefile.am b/autoMakefile.am index 0876803..37364f8 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -36,4 +36,8 @@ checkstack-clean: module-dist-hook: if [ -d CVS -o -d .git ]; then \ perl lustre/scripts/tree_status.pl > $(distdir)/tree_status; \ + elif [ -f tree_status ]; then \ + cp tree_status $(distdir)/tree_status; \ + else \ + echo -e "I have no idea how to create a tree_status file in $(distdir).\nPlease file a bug at http://bugzilla.lustre.org/"; \ fi -- 1.8.3.1