From c30872f5e7544422d9d8d7223ded656b3cf28781 Mon Sep 17 00:00:00 2001 From: Francesco Lannutti Date: Sat, 17 Nov 2012 09:48:36 +0100 Subject: [PATCH] travers wdisp only on windows, #1, FIXME buggy commit ? DIST_SUBDIRS should be traversed unconditionally !? (install, tar ball, ...) as a consequenceconditional MAINTAINERCLEANFILES incantation might be useless --- src/frontend/Makefile.am | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/frontend/Makefile.am b/src/frontend/Makefile.am index 01f55efdb..c620d03f1 100644 --- a/src/frontend/Makefile.am +++ b/src/frontend/Makefile.am @@ -1,7 +1,13 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = plotting help parser wdisp numparam trannoise -DIST_SUBDIRS = plotting help parser wdisp numparam trannoise +SUBDIRS = plotting help parser numparam trannoise +DIST_SUBDIRS = plotting help parser numparam trannoise + +if WINDOWS +SUBDIRS += wdisp +DIST_SUBDIRS += wdisp +endif + EXTRA_DIST = testcommands.c parse-bison.y ## For Windows with Visual Studio EXTRA_DIST += parse-bison.c parse-bison.h @@ -197,6 +203,10 @@ AM_CFLAGS = $(STATIC) MAINTAINERCLEANFILES = Makefile.in +if !WINDOWS +MAINTAINERCLEANFILES += wdisp/Makefile.in +endif + parse-bison.c parse-bison.h : parse-bison.y bison $(srcdir)/parse-bison.y