From 428f5595e0dece1de6b4be4c1b17c5dc1742f7d9 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Tue, 4 Feb 2014 22:08:24 +0100 Subject: [PATCH] Ship *-pattern.inc in the distributed tarball, to simplify cross-compilation. --- gnushogi/Makefile.am | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gnushogi/Makefile.am b/gnushogi/Makefile.am index e99fbd2..8c64111 100644 --- a/gnushogi/Makefile.am +++ b/gnushogi/Makefile.am @@ -58,7 +58,12 @@ gnuminishogi_CPPFLAGS = \ -DBOOK=\"$(pkglibdir)/gnuminishogi.tbk\" \ -DBINBOOK=\"$(pkglibdir)/gnuminishogi.bbk\" +BUILTHEADERS = \ + gnushogi-pattern.inc \ + gnuminishogi-pattern.inc + noinst_HEADERS = \ + $(BUILTHEADERS) \ book.h \ debug.h \ eval.h \ @@ -98,9 +103,7 @@ EXTRA_gnushogi_SOURCES = \ EXTRA_gnuminishogi_SOURCES = \ cursesdsp.c -BUILT_SOURCES = \ - gnushogi-pattern.inc \ - gnuminishogi-pattern.inc +BUILT_SOURCES = $(BUILTHEADERS) gnushogi_DEPENDENCIES = @CURSESDSP@ gnushogi_LDADD = @CURSESDSP@ @LIBCURSES@ -- 1.7.0.4