Module: xenomai-2.4
Branch: master
Commit: 7655b7c7a5337adf6cc2645b82ce2033ac10fded
URL:    
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=7655b7c7a5337adf6cc2645b82ce2033ac10fded

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Aug  5 13:59:48 2009 +0200

doc: fix GIT tree detection

---

 doc/Makefile.am |    4 ++--
 doc/Makefile.in |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 433ba5b..b9b9066 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,8 +3,8 @@ SUBDIRS=docbook doxygen man txt
 GENERATE_DOC=$(top_srcdir)/scripts/maint/generate-doc
 
 generate-doc:
-       @if test \! -e $(GENERATE_DOC) -o \! -e $(srcdir)/.git ; then \
-               echo "$@ may only be run from a GIT working tree." ; \
+       @if test \! -e $(GENERATE_DOC) -o \! -e $(top_srcdir)/.git ; then \
+               echo "$@ wants $top_srcdir to be a GIT working tree." ; \
        else \
                srcdir=$(srcdir) $(GENERATE_DOC) ; \
        fi
diff --git a/doc/Makefile.in b/doc/Makefile.in
index f10248f..7dad308 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -536,8 +536,8 @@ uninstall-am:
 
 
 generate-doc:
-       @if test \! -e $(GENERATE_DOC) -o \! -e $(srcdir)/.git ; then \
-               echo "$@ may only be run from a GIT working tree." ; \
+       @if test \! -e $(GENERATE_DOC) -o \! -e $(top_srcdir)/.git ; then \
+               echo "$@ wants $top_srcdir to be a GIT working tree." ; \
        else \
                srcdir=$(srcdir) $(GENERATE_DOC) ; \
        fi


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to