Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Tue, 15 Sep 2009 09:48:06 +0000 (09:48 +0000)
committerjohann <johann>
Tue, 15 Sep 2009 09:48:06 +0000 (09:48 +0000)
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

index 0876803..37364f8 100644 (file)
@@ -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