From 47ac986b5336869236fefb748a066d936c590f19 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Fri, 5 Dec 2014 18:02:43 +0100 Subject: [PATCH] Make sub-directories visible the automake's "dist*" targets 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 --- WINGs/Makefile.am | 1 + wrlib/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/WINGs/Makefile.am b/WINGs/Makefile.am index 03c6e289..017f1d7e 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 a9e6e83d..c21c0ced 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.11.4.GIT