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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu May 28 16:39:26 2009 +0200

Fix dist rule

---

 doc/Makefile.am                     |    5 +----
 doc/Makefile.in                     |   10 ++--------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7e4bf8a..433ba5b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,11 +3,8 @@ SUBDIRS=docbook doxygen man txt
 GENERATE_DOC=$(top_srcdir)/scripts/maint/generate-doc
 
 generate-doc:
-       @if test \! -e $(GENERATE_DOC) ; then \
+       @if test \! -e $(GENERATE_DOC) -o \! -e $(srcdir)/.git ; then \
                echo "$@ may only be run from a GIT working tree." ; \
        else \
                srcdir=$(srcdir) $(GENERATE_DOC) ; \
        fi
-
-dist-hook:
-       find $(distdir) -name .svn -depth -exec rm -fr \{\} \;
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 547057b..f6e9031 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -433,9 +433,6 @@ distdir: $(DISTFILES)
              || exit 1; \
          fi; \
        done
-       $(MAKE) $(AM_MAKEFLAGS) \
-         top_distdir="$(top_distdir)" distdir="$(distdir)" \
-         dist-hook
 check-am: all-am
 check: check-recursive
 all-am: Makefile
@@ -524,7 +521,7 @@ uninstall-am:
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
        all all-am check check-am clean clean-generic clean-libtool \
-       ctags ctags-recursive dist-hook distclean distclean-generic \
+       ctags ctags-recursive distclean distclean-generic \
        distclean-libtool distclean-tags distdir dvi dvi-am html \
        html-am info info-am install install-am install-data \
        install-data-am install-dvi install-dvi-am install-exec \
@@ -538,14 +535,11 @@ uninstall-am:
 
 
 generate-doc:
-       @if test \! -e $(GENERATE_DOC) ; then \
+       @if test \! -e $(GENERATE_DOC) -o \! -e $(srcdir)/.git ; then \
                echo "$@ may only be run from a GIT working tree." ; \
        else \
                srcdir=$(srcdir) $(GENERATE_DOC) ; \
        fi
-
-dist-hook:
-       find $(distdir) -name .svn -depth -exec rm -fr \{\} \;
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff --git a/src/testsuite/clocktest/Makefile.in 
b/src/testsuite/clocktest/Makefile.in
old mode 100755
new mode 100644


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

Reply via email to