gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] 3.7.3: patch for VPATH and make dist


From: Teun Burgers
Subject: [gnugo-devel] 3.7.3: patch for VPATH and make dist
Date: Sat, 02 Apr 2005 22:18:55 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804

The make dist target is slightly broken for VPATH
builds. The attached patch fixes this by adding some invocations
of the $(srcdir) macro

- fix make dist in VPATH setting

Teun
Index: interface/Makefile.am
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/Makefile.am,v
retrieving revision 1.11
diff -u -r1.11 Makefile.am
--- interface/Makefile.am       11 Jan 2005 21:22:31 -0000      1.11
+++ interface/Makefile.am       2 Apr 2005 19:55:32 -0000
@@ -32,11 +32,13 @@
        gmp.c \
        gtp.c
 
-gnugo-xpms.el : $(shell ls xpms/*.xpm)
-       emacs -batch --no-site-file -l make-xpms-file.el -f make-xpms-file $@ 
$(shell ls xpms/*.xpm)
+gnugo-xpms.el : $(shell ls $(srcdir)/xpms/*.xpm)
+       emacs -batch --no-site-file -l $(srcdir)/make-xpms-file.el \
+               -f make-xpms-file $@ $(shell ls $(srcdir)/xpms/*.xpm)
 
-gnugo-big-xpms.el : $(shell ls xpms/*.xpm)
-       emacs -batch --no-site-file -l make-xpms-file.el -f make-xpms-file $@ 
$(shell ls big-xpms/*.xpm)
+gnugo-big-xpms.el : $(shell ls $(srcdir)/xpms/*.xpm)
+       emacs -batch --no-site-file -l $(srcdir)/make-xpms-file.el \
+               -f make-xpms-file $@ $(shell ls $(srcdir)/big-xpms/*.xpm)
 
 AIXOPTS=-O -qmaxmem=16384 -qro -qroconst -qinfo
 
Index: regression/Makefile.am
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/Makefile.am,v
retrieving revision 1.80
diff -u -r1.80 Makefile.am
--- regression/Makefile.am      7 Dec 2004 04:31:05 -0000       1.80
+++ regression/Makefile.am      2 Apr 2005 19:55:33 -0000
@@ -26,7 +26,7 @@
 
 EXTRA_DIST = golois games $(TST) $(noinst_SCRIPTS) regress.awk \
              BREAKAGE regress.pl regress.plx regress.pike breakage2tst.py \
-            view.pike benchmark/*gtp
+            view.pike benchmark
 
 # Remove these files here... they are created locally
 DISTCLEANFILES = *.orig *~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]