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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Sep 18 22:42:50 2011 +0200

build: fix distcheck

---

 src/testsuite/regression/Makefile.am        |    4 ++++
 src/testsuite/regression/Makefile.in        |    3 +++
 src/testsuite/regression/native/Makefile.am |    2 ++
 src/testsuite/regression/native/Makefile.in |    8 ++++++--
 src/testsuite/regression/posix/Makefile.am  |    2 ++
 src/testsuite/regression/posix/Makefile.in  |    8 ++++++--
 6 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/src/testsuite/regression/Makefile.am 
b/src/testsuite/regression/Makefile.am
index ae2fc23..0fed142 100644
--- a/src/testsuite/regression/Makefile.am
+++ b/src/testsuite/regression/Makefile.am
@@ -9,3 +9,7 @@ xeno-regression-test: $(srcdir)/xeno-regression-test.in Makefile
        sed "s,@testdir@,$(testdir),;s,@pkgdir@,$(pkgdir)," $< > $@
 
 SUBDIRS = native posix native+posix
+
+EXTRA_DIST = xeno-regression-test.in
+
+CLEANFILES = xeno-regression-test
diff --git a/src/testsuite/regression/Makefile.in 
b/src/testsuite/regression/Makefile.in
index 44f459d..9b6fe36 100644
--- a/src/testsuite/regression/Makefile.in
+++ b/src/testsuite/regression/Makefile.in
@@ -277,6 +277,8 @@ testdir = @XENO_TEST_DIR@
 pkgdir = $(pkgdatadir)
 bin_SCRIPTS = xeno-regression-test
 SUBDIRS = native posix native+posix
+EXTRA_DIST = xeno-regression-test.in
+CLEANFILES = xeno-regression-test
 all: all-recursive
 
 .SUFFIXES:
@@ -569,6 +571,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)
diff --git a/src/testsuite/regression/native/Makefile.am 
b/src/testsuite/regression/native/Makefile.am
index 7c383d8..7267332 100644
--- a/src/testsuite/regression/native/Makefile.am
+++ b/src/testsuite/regression/native/Makefile.am
@@ -1,5 +1,7 @@
 tstdir = $(pkgdatadir)/native
 
+noinst_HEADERS = check.h
+
 tst_PROGRAMS = leaks tsc mayday heap
 
 CPPFLAGS = $(XENO_USER_CFLAGS) \
diff --git a/src/testsuite/regression/native/Makefile.in 
b/src/testsuite/regression/native/Makefile.in
index c37a6f3..83d43d4 100644
--- a/src/testsuite/regression/native/Makefile.in
+++ b/src/testsuite/regression/native/Makefile.in
@@ -15,6 +15,7 @@
 
 @SET_MAKE@
 
+
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
@@ -38,7 +39,8 @@ target_triplet = @target@
 tst_PROGRAMS = leaks$(EXEEXT) tsc$(EXEEXT) mayday$(EXEEXT) \
        heap$(EXEEXT)
 subdir = src/testsuite/regression/native
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+       $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/ac_prog_cc_for_build.m4 \
        $(top_srcdir)/config/docbook.m4 \
@@ -95,6 +97,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
\
        $(LDFLAGS) -o $@
 SOURCES = heap.c leaks.c mayday.c tsc.c
 DIST_SOURCES = heap.c leaks.c mayday.c tsc.c
+HEADERS = $(noinst_HEADERS)
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -255,6 +258,7 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 tstdir = $(pkgdatadir)/native
+noinst_HEADERS = check.h
 LDADD = \
        ../../../skins/native/libnative.la \
        ../../../skins/rtdm/librtdm.la \
@@ -473,7 +477,7 @@ distdir: $(DISTFILES)
        done
 check-am: all-am
 check: check-am
-all-am: Makefile $(PROGRAMS)
+all-am: Makefile $(PROGRAMS) $(HEADERS)
 installdirs:
        for dir in "$(DESTDIR)$(tstdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
diff --git a/src/testsuite/regression/posix/Makefile.am 
b/src/testsuite/regression/posix/Makefile.am
index 937a276..02dfac3 100644
--- a/src/testsuite/regression/posix/Makefile.am
+++ b/src/testsuite/regression/posix/Makefile.am
@@ -1,5 +1,7 @@
 tstdir = $(pkgdatadir)/posix
 
+noinst_HEADERS = check.h
+
 tst_PROGRAMS = leaks shm
 
 CPPFLAGS = $(XENO_USER_CFLAGS) \
diff --git a/src/testsuite/regression/posix/Makefile.in 
b/src/testsuite/regression/posix/Makefile.in
index 516b372..6a3c564 100644
--- a/src/testsuite/regression/posix/Makefile.in
+++ b/src/testsuite/regression/posix/Makefile.in
@@ -15,6 +15,7 @@
 
 @SET_MAKE@
 
+
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
@@ -37,7 +38,8 @@ host_triplet = @host@
 target_triplet = @target@
 tst_PROGRAMS = leaks$(EXEEXT) shm$(EXEEXT)
 subdir = src/testsuite/regression/posix
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+       $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/config/ac_prog_cc_for_build.m4 \
        $(top_srcdir)/config/docbook.m4 \
@@ -80,6 +82,7 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 
\
        $(LDFLAGS) -o $@
 SOURCES = leaks.c shm.c
 DIST_SOURCES = leaks.c shm.c
+HEADERS = $(noinst_HEADERS)
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -241,6 +244,7 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 tstdir = $(pkgdatadir)/posix
+noinst_HEADERS = check.h
 LDADD = \
        ../../../skins/posix/libpthread_rt.la \
        ../../../skins/common/libxenomai.la \
@@ -450,7 +454,7 @@ distdir: $(DISTFILES)
        done
 check-am: all-am
 check: check-am
-all-am: Makefile $(PROGRAMS)
+all-am: Makefile $(PROGRAMS) $(HEADERS)
 installdirs:
        for dir in "$(DESTDIR)$(tstdir)"; do \
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \


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

Reply via email to