From: Christophe CURIS <christophe.cu...@free.fr>

We have a few directories with source codes that we tell configure to
prepare, but we do not actually want them built during normal operations
(tests and examples only).

However, there are some special targets brought by automake which still
need to see them, so this patch adds these directories to the list, but
only for these rules, we keep them unvisited by the normal build process.

The wanted side effect of this is that now "make distcheck" works untill
the end as expectable.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 WINGs/Makefile.am | 1 +
 wrlib/Makefile.am | 1 +
 2 files changed, 2 insertions(+)

diff --git a/WINGs/Makefile.am b/WINGs/Makefile.am
index 03c6e28..017f1d7 100644
--- a/WINGs/Makefile.am
+++ b/WINGs/Makefile.am
@@ -3,6 +3,7 @@
 AUTOMAKE_OPTIONS =
 
 SUBDIRS = WINGs . po Documentation Resources
+DIST_SUBDIRS = $(SUBDIRS) Tests Examples Extras
 
 libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
 libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
diff --git a/wrlib/Makefile.am b/wrlib/Makefile.am
index a9e6e83..c21c0ce 100644
--- a/wrlib/Makefile.am
+++ b/wrlib/Makefile.am
@@ -1,6 +1,7 @@
 ## automake input file for wrlib
 
 SUBDIRS = .
+DIST_SUBDIRS = $(SUBDIRS) tests
 
 AUTOMAKE_OPTIONS =
 
-- 
2.1.3


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to