Module: xenomai-head
Branch: master
Commit: 4c93c88861eeda9bb5be3a50853d337f8c3c223e
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=4c93c88861eeda9bb5be3a50853d337f8c3c223e

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Sep  4 15:20:10 2011 +0200

build: fix distcheck target

---

 src/testsuite/xeno-test/Makefile.am |    2 ++
 src/testsuite/xeno-test/Makefile.in |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/testsuite/xeno-test/Makefile.am 
b/src/testsuite/xeno-test/Makefile.am
index 1c8280c..0a55b32 100644
--- a/src/testsuite/xeno-test/Makefile.am
+++ b/src/testsuite/xeno-test/Makefile.am
@@ -10,3 +10,5 @@ xeno-test: $(srcdir)/xeno-test.in Makefile
        sed "s,@testdir@,$(testdir)," $< > $@
 
 EXTRA_DIST = $(test_SCRIPTS) xeno-test.in
+
+CLEANFILES = xeno-test
diff --git a/src/testsuite/xeno-test/Makefile.in 
b/src/testsuite/xeno-test/Makefile.in
index 41aef79..ca53daa 100644
--- a/src/testsuite/xeno-test/Makefile.in
+++ b/src/testsuite/xeno-test/Makefile.in
@@ -259,6 +259,7 @@ test_SCRIPTS = xeno-test-run-wrapper dohell
 bin_SCRIPTS = xeno-test
 xeno_test_run_CPPFLAGS = -DTESTDIR=\"$(testdir)\"
 EXTRA_DIST = $(test_SCRIPTS) xeno-test.in
+CLEANFILES = xeno-test
 all: all-am
 
 .SUFFIXES:
@@ -563,6 +564,7 @@ install-strip:
 mostlyclean-generic:
 
 clean-generic:
+       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)


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

Reply via email to